diff --git a/qt5-qtdeclarative.spec b/qt5-qtdeclarative.spec index 34d407a..1b28b6b 100644 --- a/qt5-qtdeclarative.spec +++ b/qt5-qtdeclarative.spec @@ -12,7 +12,7 @@ Summary: Qt5 - QtDeclarative component Name: qt5-%{qt_module} Version: 5.15.6 -Release: 1%{?dist} +Release: 1.0.riscv64%{?dist} # See LICENSE.GPL LICENSE.LGPL LGPL_EXCEPTION.txt, for details License: LGPLv2 with exceptions or GPLv3 with exceptions @@ -116,6 +116,12 @@ Requires: %{name}%{?_isa} = %{version}-%{release} ln -s %{__python3} python export PATH=`pwd`:$PATH +# riscv64 +# GCC 13 should fix that +%ifarch riscv64 +export LDFLAGS="%{_qt5_ldflags} -latomic" +%endif + %qmake_qt5 %make_build @@ -230,6 +236,9 @@ make check -k -C tests ||: %changelog +* Mon Oct 10 2022 David Abdurachmanov - 5.15.6-1.0.riscv64 +- Link to libatomic on risv64 + * Tue Sep 20 2022 Jan Grulich - 5.15.6-1 - 5.15.6