Accepting request 206053 from KDE:Qt5

Remove global docs from package, they are delivered with qtbase module

OBS-URL: https://build.opensuse.org/request/show/206053
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libqt5-qtdoc?expand=0&rev=3
This commit is contained in:
Tomáš Chvátal 2013-11-13 12:50:19 +00:00 committed by Git OBS Bridge
parent 16477c0151
commit d656ffcf21
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Nov 7 02:30:46 UTC 2013 - hrvoje.senjan@gmail.com
- Remove global docs from package, they are delivered with qtbase
module
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Oct 28 19:45:28 UTC 2013 - hrvoje.senjan@gmail.com Mon Oct 28 19:45:28 UTC 2013 - hrvoje.senjan@gmail.com

View File

@ -53,6 +53,8 @@ handling.
mkdir -p $RPM_BUILD_ROOT%{_libqt5_docdir} mkdir -p $RPM_BUILD_ROOT%{_libqt5_docdir}
cd $RPM_BUILD_ROOT%{_libqt5_docdir} cd $RPM_BUILD_ROOT%{_libqt5_docdir}
xzdec -c %{SOURCE2} | tar x --strip-components 1 xzdec -c %{SOURCE2} | tar x --strip-components 1
# global doc's are provided with qtbase module
rm -rf $RPM_BUILD_ROOT%{_libqt5_docdir}/global/
%fdupes -s $RPM_BUILD_ROOT%{_libqt5_docdir} %fdupes -s $RPM_BUILD_ROOT%{_libqt5_docdir}
%clean %clean