!4 [sync] PR-3: Fix build on riscv64

From: @openeuler-sync-bot 
Reviewed-by: @weidongkl 
Signed-off-by: @weidongkl
This commit is contained in:
openeuler-ci-bot 2024-04-25 08:02:02 +00:00 committed by Gitee
commit 3e4daf1281
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: qt-at-spi
Version: 0.3.1
Release: 1
Release: 2
Summary: Qt plugin that bridges Qt's accessibility API to AT-SPI2
License: LGPLv2+
@ -31,6 +31,9 @@ install -m644 -p %{SOURCE1} .
%build
%ifarch riscv64
sed -i -e '/-Werror$/d' src/src.pro
%endif
%{qmake_qt4}
%make_build
@ -56,5 +59,8 @@ make install INSTALL_ROOT=%{buildroot}
%changelog
* Wed Apr 24 2024 misaka00251 <liuxin@iscas.ac.cn> - 0.3.1-2
- Build arguments is too strict for riscv64 w/ latest toolchain
* Thu Feb 18 2021 weidong <weidong@uniontech.com> - 0.3.1-1
- Initial package