From 9920a787ddb50e7427eff37b5df4922ed566c321 Mon Sep 17 00:00:00 2001 From: zhuhongbo Date: Wed, 13 Aug 2025 09:59:33 +0800 Subject: [PATCH] add arch loongarch64 --- qt5-qtwebengine.spec | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/qt5-qtwebengine.spec b/qt5-qtwebengine.spec index ffede36..e38b342 100644 --- a/qt5-qtwebengine.spec +++ b/qt5-qtwebengine.spec @@ -1,6 +1,6 @@ %define anolis_release .0.2 -Excludearch:loongarch64 %global qt_module qtwebengine +ExclusiveArch: aarch64 x86_64 %global _hardened_build 1 @@ -106,10 +106,10 @@ Patch27: qtwebengine-gcc11.patch Patch100: 0001-add-pagesize-64k-support.patch ## Upstream patches: -%if 0%{?fedora} || 0%{?epel} > 7 +#%if 0%{?fedora} || 0%{?epel} > 7 # handled by qt5-srpm-macros, which defines %%qt5_qtwebengine_arches -ExclusiveArch: %{qt5_qtwebengine_arches} -%endif +#ExclusiveArch: %{qt5_qtwebengine_arches} +#%endif BuildRequires: qt5-qtbase-devel BuildRequires: qt5-qtbase-private-devel @@ -498,12 +498,12 @@ sed -i \ %{buildroot}%{rpm_macros_dir}/macros.qt5-qtwebengine # hardlink files to {_bindir} -mkdir -p %{buildroot}%{_bindir} -pushd %{buildroot}%{_qt5_bindir} -for i in * ; do - ln -v ${i} %{buildroot}%{_bindir}/${i} -done -popd +#mkdir -p %{buildroot}%{_bindir} +#pushd %{buildroot}%{_qt5_bindir} +#for i in * ; do +# ln -v ${i} %{buildroot}%{_bindir}/${i} +#done +#popd ## .prl/.la file love # nuke .prl reference(s) to %%buildroot, excessive (.la-like) libs -- Gitee