drop shadow/out-of-tree builds (#1456211,QTBUG-37417)

This commit is contained in:
Rex Dieter 2017-06-16 07:16:28 -05:00
parent 59edd386a5
commit 65f8d6e9f7

View File

@ -3,7 +3,7 @@
Summary: Qt5 - QtXmlPatterns component
Name: qt5-%{qt_module}
Version: 5.9.0
Release: 1%{?dist}
Release: 2%{?dist}
# See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for exception details
License: LGPLv2 with exceptions or GPLv3 with exceptions
Url: http://www.qt.io
@ -29,18 +29,19 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
%description examples
%{summary}.
%prep
%setup -q -n %{qt_module}-opensource-src-%{version}
%build
mkdir %{_target_platform}
pushd %{_target_platform}
%{qmake_qt5} ..
%{qmake_qt5}
make %{?_smp_mflags}
%install
make install INSTALL_ROOT=%{buildroot} -C %{_target_platform}
make install INSTALL_ROOT=%{buildroot}
# put non-conflicting binaries with -qt5 postfix in {_bindir}
mkdir %{buildroot}%{_bindir}
@ -70,6 +71,7 @@ for prl_file in libQt5*.prl ; do
done
popd
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
@ -92,6 +94,9 @@ popd
%changelog
* Fri Jun 16 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.9.0-2
- drop shadow/out-of-tree builds (#1456211,QTBUG-37417)
* Wed May 31 2017 Helio Chissini de Castro <helio@kde.org> - 5.9.0-1
- Upstream official release