From 12080b45c35a44c624dbaf074555869a61745c98b8c12b088145b717eb92c811 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Tue, 12 Sep 2017 17:52:34 +0000 Subject: [PATCH] Accepting request 523344 from KDE:Qt5 - Update descriptions. - Use find -exec's "+" strategy. (forwarded request 523327 from jengelh) OBS-URL: https://build.opensuse.org/request/show/523344 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libqt5-qttools?expand=0&rev=32 --- libqt5-qttools.changes | 6 ++++++ libqt5-qttools.spec | 14 +++++++------- 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/libqt5-qttools.changes b/libqt5-qttools.changes index 684155f..3996bdc 100644 --- a/libqt5-qttools.changes +++ b/libqt5-qttools.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Sep 11 15:58:44 UTC 2017 - jengelh@inai.de + +- Update descriptions. +- Use find -exec's "+" strategy. + ------------------------------------------------------------------- Sat Jul 1 08:15:30 UTC 2017 - lbeltrame@kde.org diff --git a/libqt5-qttools.spec b/libqt5-qttools.spec index 587a387..7cea51d 100644 --- a/libqt5-qttools.spec +++ b/libqt5-qttools.spec @@ -70,7 +70,7 @@ This package contains base tools, like string, xml, and network handling. %patch0 -p0 %package devel -Summary: Qt Development Kit +Summary: Development files for the Qt5 Tools library Group: Development/Libraries/X11 Requires: %{name} = %{version} Requires: %{name}-doc = %{version} @@ -82,10 +82,10 @@ Requires: libxslt-devel Requires: pkgconfig(Qt5Xml) >= %{so_version} %description devel -You need this package, if you want to compile programs with qttools. +You need this package if you want to compile programs with qttools. %package private-headers-devel -Summary: Non-ABI stable experimental API +Summary: Non-ABI stable experimental API for the Qt5 Tools library Group: Development/Libraries/C and C++ BuildArch: noarch Requires: %{name}-devel = %{version} @@ -102,7 +102,7 @@ Group: Development/Libraries/X11 Recommends: %{name}-devel %description examples -Examples for libqt5-qttools module. +Examples for the libqt5-qttools module. %package -n libQt5Designer5 Summary: Qt 5 Designer Library @@ -142,7 +142,7 @@ Group: Development/Libraries/X11 The Qt 5 Linguist Tools. %package -n libqt5-linguist-devel -Summary: Qt 5 Linguist Tools - development files +Summary: Development files for the Qt 5 Linguist tools Group: Development/Libraries/X11 Requires: libqt5-linguist = %{version} Requires: pkgconfig(Qt5Core) >= %{version} @@ -201,8 +201,8 @@ mkdir .git %install %qmake5_install -find %{buildroot}/%{_libdir} -type f -name '*la' -print -exec perl -pi -e 's, -L%{_builddir}/\S+,,g' {} \; -find %{buildroot}/%{_libdir} -type f -name '*pc' -print -exec perl -pi -e "s, -L$RPM_BUILD_DIR/?\S+,,g" {} \; -exec sed -i -e "s,^moc_location=.*,moc_location=%{_libqt5_bindir}/moc," -e "s,uic_location=.*,uic_location=%{_libqt5_bindir}/uic," {} \; +find %{buildroot}/%{_libdir} -type f -name '*la' -print -exec perl -pi -e 's, -L%{_builddir}/\S+,,g' {} + +find %{buildroot}/%{_libdir} -type f -name '*pc' -print -exec perl -pi -e "s, -L$RPM_BUILD_DIR/?\S+,,g" {} + -exec sed -i -e "s,^moc_location=.*,moc_location=%{_libqt5_bindir}/moc," -e "s,uic_location=.*,uic_location=%{_libqt5_bindir}/uic," {} + %fdupes -s %{buildroot}/%{_libqt5_includedir} # kill .la files