clean .prl files (buildroot, excessive deps)
This commit is contained in:
parent
f30676bea6
commit
4c757f337f
@ -6,7 +6,7 @@
|
|||||||
Summary: Qt5 - SerialPort component
|
Summary: Qt5 - SerialPort component
|
||||||
Name: qt5-%{qt_module}
|
Name: qt5-%{qt_module}
|
||||||
Version: 5.2.1
|
Version: 5.2.1
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
|
|
||||||
# See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for exception details
|
# See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for exception details
|
||||||
License: LGPLv2 with exceptions or GPLv3 with exceptions
|
License: LGPLv2 with exceptions or GPLv3 with exceptions
|
||||||
@ -71,9 +71,17 @@ make install INSTALL_ROOT=%{buildroot}
|
|||||||
make install_docs INSTALL_ROOT=%{buildroot}
|
make install_docs INSTALL_ROOT=%{buildroot}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
## unpackaged files
|
## .prl/.la file love
|
||||||
# .la files, die, die, die.
|
# nuke .prl reference(s) to %%buildroot, excessive (.la-like) libs
|
||||||
rm -fv %{buildroot}%{_qt5_libdir}/lib*.la
|
pushd %{buildroot}%{_qt5_libdir}
|
||||||
|
for prl_file in libQt5*.prl ; do
|
||||||
|
sed -i -e "/^QMAKE_PRL_BUILD_DIR/d" ${prl_file}
|
||||||
|
if [ -f "$(basename ${prl_file} .prl).so" ]; then
|
||||||
|
rm -fv "$(basename ${prl_file} .prl).la"
|
||||||
|
sed -i -e "/^QMAKE_PRL_LIBS/d" ${prl_file}
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
popd
|
||||||
|
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post -p /sbin/ldconfig
|
||||||
@ -107,6 +115,9 @@ rm -fv %{buildroot}%{_qt5_libdir}/lib*.la
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Apr 26 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.1-2
|
||||||
|
- clean .prl files (buildroot, excessive deps)
|
||||||
|
|
||||||
* Thu Feb 06 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.1-1
|
* Thu Feb 06 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.1-1
|
||||||
- 5.2.1
|
- 5.2.1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user