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

This commit is contained in:
Rex Dieter 2017-06-16 07:13:20 -05:00
parent c67a677a0f
commit 8da1951afb
1 changed files with 8 additions and 4 deletions

View File

@ -3,7 +3,7 @@
Summary: Qt5 - SerialPort 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
@ -37,16 +37,16 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
%prep
%setup -q -n %{qt_module}-opensource-src-%{version}
%build
mkdir %{_target_platform}
pushd %{_target_platform}
%{qmake_qt5} .. \
%{?_qt5_examplesdir:CONFIG+=qt_example_installs}
make %{?_smp_mflags}
%install
make install INSTALL_ROOT=%{buildroot} -C %{_target_platform}
make install INSTALL_ROOT=%{buildroot}
## .prl/.la file love
# nuke .prl reference(s) to %%buildroot, excessive (.la-like) libs
@ -60,6 +60,7 @@ for prl_file in libQt5*.prl ; do
done
popd
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
@ -88,6 +89,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