From 580e97bec669f5d64f66cec64b3f7f04fca16c339421a1612a7d92f75f52c4fe Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Wed, 9 Mar 2011 09:41:06 +0000 Subject: [PATCH] - Update to version 0.3.13: * Generate manpage and HTML documentation - Added manpage and HTML documentation OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-py2pack?expand=0&rev=26 --- py2pack-0.3.11.tar.bz2 | 3 --- py2pack-0.3.13.tar.bz2 | 3 +++ python-py2pack.changes | 7 +++++++ python-py2pack.spec | 9 ++++++++- 4 files changed, 18 insertions(+), 4 deletions(-) delete mode 100644 py2pack-0.3.11.tar.bz2 create mode 100644 py2pack-0.3.13.tar.bz2 diff --git a/py2pack-0.3.11.tar.bz2 b/py2pack-0.3.11.tar.bz2 deleted file mode 100644 index 10624b9..0000000 --- a/py2pack-0.3.11.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f85f5e0c50a39e64e4801ba5c50bb83c9a9032639243aa566fb169bb807538c0 -size 11706 diff --git a/py2pack-0.3.13.tar.bz2 b/py2pack-0.3.13.tar.bz2 new file mode 100644 index 0000000..1881e57 --- /dev/null +++ b/py2pack-0.3.13.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1246778425582131b79834d143eec980d11c3d812dead463b537b3889d89176f +size 15256 diff --git a/python-py2pack.changes b/python-py2pack.changes index 8ebb7aa..13a416a 100644 --- a/python-py2pack.changes +++ b/python-py2pack.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Mar 9 09:18:43 UTC 2011 - saschpe@suse.de + +- Update to version 0.3.13: + * Generate manpage and HTML documentation +- Added manpage and HTML documentation + ------------------------------------------------------------------- Wed Feb 16 08:42:27 UTC 2011 - saschpe@suse.de diff --git a/python-py2pack.spec b/python-py2pack.spec index 3437124..6606450 100644 --- a/python-py2pack.spec +++ b/python-py2pack.spec @@ -22,7 +22,7 @@ %define mod_name py2pack Name: python-%{mod_name} -Version: 0.3.11 +Version: 0.3.13 Release: 0 Url: http://github.com/saschpe/py2pack Summary: Generate distribution packages from Python packages on PyPI @@ -57,12 +57,19 @@ python setup.py build %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} +# The setup script installs stuff into '/usr/local', move stuff around accordingly +install -d %{buildroot}%{_mandir}/man1 +mv %{buildroot}/usr/man/man1/%{mod_name}.* %{buildroot}%{_mandir}/man1 +install -d %{buildroot}%{_docdir}/%{name} +mv %{buildroot}/usr/share/doc/%{mod_name}/* %{buildroot}%{_docdir}/%{name} %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) +%{_docdir}/%{name} +%{_mandir}/man?/%{mod_name}.* %{_bindir}/%{mod_name} %python_sitelib/%{mod_name}*