diff --git a/libqt5-qtbase.changes b/libqt5-qtbase.changes index 2b3ffad..22e6712 100644 --- a/libqt5-qtbase.changes +++ b/libqt5-qtbase.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Aug 9 13:01:22 UTC 2017 - matz@suse.com + +- Don't special case sse2 libs on i586 for SLE-15, it supports + only SSE2 capable CPUs. + ------------------------------------------------------------------- Thu Aug 3 08:56:09 UTC 2017 - mlin@suse.com diff --git a/libqt5-qtbase.spec b/libqt5-qtbase.spec index 185a834..a574631 100644 --- a/libqt5-qtbase.spec +++ b/libqt5-qtbase.spec @@ -738,7 +738,9 @@ echo yes | ./configure $platform \ -no-reduce-relocations \ %endif %ifarch %ix86 +%if 0%{?sle_version:%sle_version} < 150000 -no-sse2 -no-pch \ +%endif %endif -optimized-qmake \ -accessibility \ @@ -789,6 +791,7 @@ make %{?_smp_mflags} make INSTALL_ROOT=%{buildroot} install %ifarch %ix86 +%if 0%{?sle_version:%sle_version} < 150000 install -d %{buildroot}%{libqt5_libdir}/sse2/ pushd src/corelib; make clean ; ../../bin/qmake -config sse2; make %{?_smp_mflags} @@ -799,6 +802,7 @@ pushd src/gui; ../../bin/qmake -config sse2; make %{?_smp_mflags} cp -av ../../lib/libQt5Gui.so.* %{buildroot}%{libqt5_libdir}/sse2/ popd %endif +%endif install -D -m644 %{SOURCE2} %{buildroot}%{_sysconfdir}/rpm/macros.qt5 # argggh, qmake is such a piece of @@ -911,9 +915,11 @@ popd %doc *.txt LICENSE.* %{libqt5_libdir}/libQt5Core.so.* %ifarch %ix86 +%if 0%{?sle_version:%sle_version} < 150000 %dir %{libqt5_libdir}/sse2 %{libqt5_libdir}/sse2/libQt5Core.so.* %endif +%endif %files -n libQt5Core-devel %defattr(-,root,root,755) @@ -1058,8 +1064,10 @@ popd %doc *.txt LICENSE.* %{libqt5_libdir}/libQt5Gui.so.* %ifarch %ix86 +%if 0%{?sle_version:%sle_version} < 150000 %{libqt5_libdir}/sse2/libQt5Gui.so.* %endif +%endif %{libqt5_libdir}/libQt5EglFSDeviceIntegration.so.* %{libqt5_libdir}/libQt5EglFsKmsSupport.so.* %{libqt5_libdir}/libQt5XcbQpa.so.*