From 3fe530ff767bba28a6b2756d564eaf1139e0138a Mon Sep 17 00:00:00 2001 From: cherry530 <707078654@qq.com> Date: Fri, 13 Dec 2024 09:47:28 +0800 Subject: [PATCH] fix scons-3 not found due to python3-scons upgrade. Signed-off-by: cherry530 <707078654@qq.com> --- libffado.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/libffado.spec b/libffado.spec index 52b8b1f..20117f8 100644 --- a/libffado.spec +++ b/libffado.spec @@ -5,7 +5,7 @@ export LDFLAGS="%{build_ldflags}" Name: libffado Version: 2.4.9 -Release: 1 +Release: 2 Summary: Free firewire audio driver library License: LGPLv2+ and GPLv2 and GPLv3 and GPLv3+ URL: http://www.ffado.org/ @@ -58,14 +58,14 @@ sed -i 's|/usr/bin/.*python$|/usr/bin/python3|' admin/*.py doc/SConscript tests/ %build %{_export_PLAGS} -scons-3 %{?_smp_mflags} \ +scons %{?_smp_mflags} \ ENABLE_SETBUFFERSIZE_API_VER=True ENABLE_OPTIMIZATIONS=True CUSTOM_ENV=True BUILD_DOC=user \ PREFIX=%{_prefix} LIBDIR=%{_libdir} MANDIR=%{_mandir} UDEVDIR=%{_prefix}/lib/udev/rules.d/ \ PYPKGDIR=%{python3_sitelib}/ffado/ PYTHON_INTERPRETER=/usr/bin/python3 BUILD_TESTS=1 %install %{_export_PLAGS} -scons-3 DESTDIR=%{buildroot} install +scons DESTDIR=%{buildroot} install install -d %{buildroot}%{_datadir}/applications desktop-file-install --dir %{buildroot}%{_datadir}/applications --add-category="Settings" --set-icon=ffado support/xdg/org.ffado.FfadoMixer.desktop @@ -110,6 +110,9 @@ appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/org.ffad %{_mandir}/man1/ffado-*.1* %changelog +* Fri Dec 13 2024 xu_ping <707078654@qq.com> - 2.4.9-2 +- fix scons-3 not found due to python3-scons upgrade. + * Tue Aug 06 2024 sqfu - 2.4.9-1 - update version to 2.4.9. -- Gitee