Avoid using _prefix macro for /usr/lib/debug dir
In case of flatpak module builds, _prefix is redefined as /app. rpm-build however hardcodes /usr/lib/debug without using the _prefix macro, so do the same here to match this. This fixes building Python as a flatpak module. https://bugzilla.redhat.com/show_bug.cgi?id=1737933#c14
This commit is contained in:
parent
4352870f13
commit
06c7812898
@ -745,7 +745,7 @@ topdir=$(pwd)
|
|||||||
# information
|
# information
|
||||||
|
|
||||||
%if %{with gdb_hooks}
|
%if %{with gdb_hooks}
|
||||||
DirHoldingGdbPy=%{_prefix}/lib/debug/%{_libdir}
|
DirHoldingGdbPy=%{_usr}/lib/debug/%{_libdir}
|
||||||
mkdir -p %{buildroot}$DirHoldingGdbPy
|
mkdir -p %{buildroot}$DirHoldingGdbPy
|
||||||
%endif # with gdb_hooks
|
%endif # with gdb_hooks
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user