scons renamed to scons-2 in the recent Fedora package

epel8
Orcan Ogetbil 5 years ago
parent cc7b471114
commit c0dd923498

@ -1,7 +1,7 @@
Summary: Free firewire audio driver library Summary: Free firewire audio driver library
Name: libffado Name: libffado
Version: 2.4.1 Version: 2.4.1
Release: 7%{?dist} Release: 8%{?dist}
# src/libutil/float_cast.h is LGPLv2+. # src/libutil/float_cast.h is LGPLv2+.
# The rest is (GPLv2 or GPLv3) # The rest is (GPLv2 or GPLv3)
License: LGPLv2+ and (GPLv2 or GPLv3) License: LGPLv2+ and (GPLv2 or GPLv3)
@ -85,7 +85,7 @@ sed -i 's|/usr/bin/.*python$|/usr/bin/python2|' \
export CFLAGS="%{optflags} -ffast-math" export CFLAGS="%{optflags} -ffast-math"
export CXXFLAGS="%{optflags} -ffast-math --std=gnu++11" export CXXFLAGS="%{optflags} -ffast-math --std=gnu++11"
export LDFLAGS="%{build_ldflags}" export LDFLAGS="%{build_ldflags}"
scons %{?_smp_mflags} \ scons-2 %{?_smp_mflags} \
ENABLE_SETBUFFERSIZE_API_VER=True \ ENABLE_SETBUFFERSIZE_API_VER=True \
ENABLE_OPTIMIZATIONS=True \ ENABLE_OPTIMIZATIONS=True \
CUSTOM_ENV=True \ CUSTOM_ENV=True \
@ -103,7 +103,7 @@ scons %{?_smp_mflags} \
export CFLAGS="%{optflags} -ffast-math" export CFLAGS="%{optflags} -ffast-math"
export CXXFLAGS="%{optflags} -ffast-math --std=gnu++11" export CXXFLAGS="%{optflags} -ffast-math --std=gnu++11"
export LDFLAGS="%{build_ldflags}" export LDFLAGS="%{build_ldflags}"
scons DESTDIR=%{buildroot} \ scons-2 DESTDIR=%{buildroot} \
install install
# We need to install the xdg stuff manually # We need to install the xdg stuff manually
@ -128,7 +128,8 @@ appstream-util validate-relax --nonet \
%{buildroot}%{_datadir}/metainfo/ffado-mixer.appdata.xml %{buildroot}%{_datadir}/metainfo/ffado-mixer.appdata.xml
%files %files
%doc AUTHORS ChangeLog LICENSE.* README %license LICENSE.*
%doc AUTHORS ChangeLog README
%{_libdir}/libffado.so.* %{_libdir}/libffado.so.*
%dir %{_datadir}/libffado/ %dir %{_datadir}/libffado/
%{_datadir}/libffado/configuration %{_datadir}/libffado/configuration
@ -154,6 +155,9 @@ appstream-util validate-relax --nonet \
%changelog %changelog
* 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
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.1-7 * Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.1-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

Loading…
Cancel
Save