Fixed Python shebangs
Added BR: python2-enum34
This commit is contained in:
parent
938ef10ec5
commit
5e9d372469
@ -1,7 +1,7 @@
|
||||
Summary: Free firewire audio driver library
|
||||
Name: libffado
|
||||
Version: 2.4.1
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
# src/libutil/float_cast.h is LGPLv2+.
|
||||
# The rest is (GPLv2 or GPLv3)
|
||||
License: LGPLv2+ and (GPLv2 or GPLv3)
|
||||
@ -31,6 +31,7 @@ BuildRequires: libxml++-devel
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: python2-PyQt5-devel
|
||||
BuildRequires: python2-devel
|
||||
BuildRequires: python2-enum34
|
||||
BuildRequires: python2-scons
|
||||
BuildRequires: subversion
|
||||
ExcludeArch: s390 s390x
|
||||
@ -76,6 +77,12 @@ sed -i '/Install/d' tests/{,*/}SConscript
|
||||
# Use standard icon name
|
||||
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|' \
|
||||
admin/*.py doc/SConscript tests/python/*.py tests/*.py \
|
||||
support/mixer-qt4/ffado-mixer* support/mixer-qt4/SConscript \
|
||||
support/tools/*.py support/tools/SConscript
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags} -ffast-math"
|
||||
export CXXFLAGS="%{optflags} -ffast-math --std=gnu++11"
|
||||
@ -90,6 +97,7 @@ scons %{?_smp_mflags} \
|
||||
MANDIR=%{_mandir} \
|
||||
UDEVDIR=%{_prefix}/lib/udev/rules.d/ \
|
||||
PYPKGDIR=%{python_sitelib}/ffado/ \
|
||||
PYTHON_INTERPRETER=/usr/bin/python2 \
|
||||
BUILD_TESTS=1
|
||||
|
||||
%install
|
||||
@ -148,6 +156,10 @@ appstream-util validate-relax --nonet \
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Jul 19 2018 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 2.4.1-3
|
||||
- Fixed Python shebangs
|
||||
- Added BR: python2-enum34
|
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user