diff --git a/py2pack-0.3.17.tar.gz b/py2pack-0.3.17.tar.gz deleted file mode 100644 index c7a63cc..0000000 --- a/py2pack-0.3.17.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f6b4493d159596aa63cdb56cdd68a04213b2c5cb817f2f715d7028bc7601a537 -size 16737 diff --git a/py2pack-0.3.20.tar.gz b/py2pack-0.3.20.tar.gz new file mode 100644 index 0000000..7497a3e --- /dev/null +++ b/py2pack-0.3.20.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:571a048f6f5e7d169ee3322a202bc53944a15ef0044a42302a90698a553d3b90 +size 16750 diff --git a/python-py2pack.changes b/python-py2pack.changes index 43888ef..a045688 100644 --- a/python-py2pack.changes +++ b/python-py2pack.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Wed Jun 22 10:21:55 UTC 2011 - saschpe@suse.de + +- Update to version 0.3.20 + * Use URL for RPM tag 'Source' instead of filename + +------------------------------------------------------------------- +Tue May 31 08:01:06 UTC 2011 - saschpe@suse.de + +- Update to version 0.3.18 + * Also list dependencies from 'install_requires' + * Allow to depend on specific Python versions + ------------------------------------------------------------------- Wed May 18 11:36:27 UTC 2011 - saschpe@suse.de diff --git a/python-py2pack.spec b/python-py2pack.spec index 0e5b264..be17804 100644 --- a/python-py2pack.spec +++ b/python-py2pack.spec @@ -11,21 +11,18 @@ # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. - +# # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - -%define mod_name py2pack - -Name: python-%{mod_name} -Version: 0.3.17 -Release: 1 +Name: python-py2pack +Version: 0.3.20 +Release: 0 Url: http://github.com/saschpe/py2pack Summary: Generate distribution packages from Python packages on PyPI License: GPLv2 Group: Development/Languages/Python -Source: %{mod_name}-%{version}.tar.gz +Source: http://pypi.python.org/packages/source/p/py2pack/py2pack-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-argparse BuildRequires: python-devel @@ -48,19 +45,19 @@ It allows to list Python modules or search for them on the Python Package Index universal tool to package Python modules. %prep -export CFLAGS="%{optflags}" -%setup -q -n %{mod_name}-%{version} +%setup -q -n py2pack-%{version} %build +export CFLAGS="%{optflags}" 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 +mv %{buildroot}/usr/man/man1/py2pack.* %{buildroot}%{_mandir}/man1 install -d %{buildroot}%{_docdir}/%{name} -mv %{buildroot}/usr/share/doc/%{mod_name}/* %{buildroot}%{_docdir}/%{name} +mv %{buildroot}/usr/share/doc/py2pack/* %{buildroot}%{_docdir}/%{name} %clean rm -rf %{buildroot} @@ -68,8 +65,8 @@ rm -rf %{buildroot} %files %defattr(-,root,root,-) %{_docdir}/%{name} -%{_mandir}/man?/%{mod_name}.* -%{_bindir}/%{mod_name} -%python_sitelib/%{mod_name}* +%{_mandir}/man?/py2pack.* +%{_bindir}/py2pack +%python_sitelib/* %changelog