Accepting request 93067 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/93067
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-gtk?expand=0&rev=31
This commit is contained in:
Stephan Kulow 2011-11-25 10:13:05 +00:00 committed by Git OBS Bridge
commit 879f87590f
2 changed files with 12 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Oct 11 13:28:52 UTC 2011 - jmatejek@suse.com
- moving docs to /usr/share/doc/gtk for FHS compliance (bnc#597244)
-------------------------------------------------------------------
Wed May 4 14:02:48 UTC 2011 - jmatejek@novell.com

View File

@ -90,6 +90,11 @@ make %{?jobs:-j%jobs}
%install
%makeinstall
find $RPM_BUILD_ROOT -name '*.la' -or -name '*.a' | xargs rm -v
# move the docs to FHS-correct directory
mkdir -p $RPM_BUILD_ROOT%{_datadir}/doc
mv $RPM_BUILD_ROOT%{_datadir}/gtk-doc $RPM_BUILD_ROOT%{_datadir}/doc/gtk
rm examples/Makefile*
# demo is already in devel package
rm -rf examples/pygtk-demo
@ -130,6 +135,7 @@ rm -rf $RPM_BUILD_ROOT
%files doc
%defattr(-,root,root)
%{_datadir}/gtk-doc/html/*
%dir %{_datadir}/doc
%{_datadir}/doc/gtk
%changelog