From 5459b1473322531f52f90312a48f262d38f80814 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Jun 29 2018 18:37:29 +0000 Subject: apply sse2-related multilib hack on < f29 only safer %_qt5_prefix, %qt5_archdatadir ownership rebuild for %_qt5_prefix = %_prefix --- diff --git a/qt5-qtbase.spec b/qt5-qtbase.spec index f1b6180..6cfc668 100644 --- a/qt5-qtbase.spec +++ b/qt5-qtbase.spec @@ -46,7 +46,7 @@ BuildRequires: pkgconfig(libsystemd) Name: qt5-qtbase Summary: Qt5 - QtBase components Version: 5.11.1 -Release: 2%{?dist} +Release: 3%{?dist} # See LGPL_EXCEPTIONS.txt, for exception details License: LGPLv2 with exceptions or GPLv3 with exceptions @@ -546,6 +546,7 @@ popd mkdir -p %{buildroot}%{_sysconfdir}/xdg/qtchooser pushd %{buildroot}%{_sysconfdir}/xdg/qtchooser echo "%{_qt5_bindir}" > 5-%{__isa_bits}.conf +## FIXME/TODO: verify qtchooser (still) happy if _qt5_prefix uses %%_prefix instead of %%_libdir/qt5 echo "%{_qt5_prefix}" >> 5-%{__isa_bits}.conf # alternatives targets touch default.conf 5.conf @@ -566,6 +567,8 @@ popd install -p -m755 -D %{SOURCE6} %{buildroot}%{_sysconfdir}/X11/xinit/xinitrc.d/10-qt5-check-opengl2.sh +# f29+ enables sse2 unconditionally on ix86 -- rex +%if 0%{?fedora} < 29 # fix bz#1442553 multilib issue privat_header_file=%{buildroot}%{_qt5_headerdir}/QtCore/%{version}/QtCore/private/qconfig_p.h grep -v QT_FEATURE_sse2 $privat_header_file > ${privat_header_file}.me @@ -577,6 +580,7 @@ cat >>${privat_header_file}< - 5.11.1-3 +- apply sse2-related multilib hack on < f29 only +- safer %%_qt5_prefix, %%qt5_archdatadir ownership +- rebuild for %%_qt5_prefix = %%_prefix + * Sat Jun 23 2018 Than Ngo - 5.11.1-2 - fixed #1592146, python3