Un-hardcode path.
This commit is contained in:
parent
c0dd923498
commit
e6cc72e3cb
@ -1,7 +1,7 @@
|
||||
Summary: Free firewire audio driver library
|
||||
Name: libffado
|
||||
Version: 2.4.1
|
||||
Release: 8%{?dist}
|
||||
Release: 9%{?dist}
|
||||
# src/libutil/float_cast.h is LGPLv2+.
|
||||
# The rest is (GPLv2 or GPLv3)
|
||||
License: LGPLv2+ and (GPLv2 or GPLv3)
|
||||
@ -76,7 +76,7 @@ sed -i '/Install/d' tests/{,*/}SConscript
|
||||
sed -i 's|hi64-apps-ffado.png|ffado.png|' support/mixer-qt4/ffado/ffadowindow.py
|
||||
|
||||
# Fix Python shebangs
|
||||
sed -i 's|/usr/bin/.*python$|/usr/bin/python2|' \
|
||||
sed -i 's|/usr/bin/.*python$|%{_prefix}/bin/python2|' \
|
||||
admin/*.py doc/SConscript tests/python/*.py tests/*.py \
|
||||
support/mixer-qt4/ffado-mixer* support/mixer-qt4/SConscript \
|
||||
support/tools/*.py support/tools/SConscript
|
||||
@ -95,7 +95,7 @@ scons-2 %{?_smp_mflags} \
|
||||
MANDIR=%{_mandir} \
|
||||
UDEVDIR=%{_prefix}/lib/udev/rules.d/ \
|
||||
PYPKGDIR=%{python2_sitelib}/ffado/ \
|
||||
PYTHON_INTERPRETER=/usr/bin/python2 \
|
||||
PYTHON_INTERPRETER=%{_prefix}/bin/python2 \
|
||||
BUILD_TESTS=1
|
||||
|
||||
%install
|
||||
@ -155,6 +155,9 @@ appstream-util validate-relax --nonet \
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Aug 19 2019 Gwyn Ciesla <gwync@protonmail.com> - 2.4.1-9
|
||||
- Un-hardcode prefix for flatpak.
|
||||
|
||||
* Sat Aug 03 2019 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 2.4.1-8
|
||||
- scons renamed to scons-2 in the recent Fedora package
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user