diff --git a/libffado.spec b/libffado.spec index 4e7a42f43d674ec9cd3dcb999a67624357ac996f..7c4c2a7c351f113ced0d53465c5daee55d65afa6 100644 --- a/libffado.spec +++ b/libffado.spec @@ -5,7 +5,7 @@ export LDFLAGS="%{build_ldflags}" Name: libffado Version: 2.4.1 -Release: 6 +Release: 7 Summary: Free firewire audio driver library License: LGPLv2+ and GPLv2 and GPLv3 and GPLv3+ URL: http://www.ffado.org/ @@ -50,6 +50,10 @@ sed -i 's|/usr/bin/.*python$|/usr/bin/python3|' admin/*.py doc/SConscript tests/ support/mixer-qt4/ffado-mixer* support/mixer-qt4/SConscript support/tools/*.py support/tools/SConscript %build +%ifarch loongarch64 sw_64 +%_update_config_guess +%_update_config_sub +%endif %{_export_PLAGS} scons-3 %{?_smp_mflags} \ ENABLE_SETBUFFERSIZE_API_VER=True ENABLE_OPTIMIZATIONS=True CUSTOM_ENV=True BUILD_DOC=user \ @@ -102,6 +106,9 @@ appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/ffado-mi %{_mandir}/man1/ffado-*.1* %changelog +* Mon Aug 14 2023 suwei - 2.4.1-7 +- Fix loongarch64 sw_64 build error + * Tue Oct 13 2020 maminjie - 2.4.1-6 - Rebuilt for python3