diff --git a/qt5-qtwebengine.spec b/qt5-qtwebengine.spec index ffede36538edfca2e952c7a322a1ea39662b259a..e38b342fd98a8dda70de8bf9a6d4ba69c9ccf946 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