1
0

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
This commit is contained in:
Dominique Leuenberger 2017-09-12 17:52:34 +00:00 committed by Git OBS Bridge
parent d2229f2d15
commit 12080b45c3
2 changed files with 13 additions and 7 deletions

View File

@ -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

View File

@ -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