diff --git a/py2pack-0.3.0.tar.gz b/py2pack-0.3.0.tar.gz deleted file mode 100644 index 9311672..0000000 --- a/py2pack-0.3.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ddadc8b1370b166090aab8ac6cda1096814669e9fd8325b2eb473d06569473c8 -size 14159 diff --git a/py2pack-0.3.1.tar.gz b/py2pack-0.3.1.tar.gz new file mode 100644 index 0000000..75942a5 --- /dev/null +++ b/py2pack-0.3.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1aa72108734a18e97ae62c645b88267a02751e41025fe63440aecdfcc107b189 +size 12790 diff --git a/python-py2pack.changes b/python-py2pack.changes index 9cf611c..2b2973b 100644 --- a/python-py2pack.changes +++ b/python-py2pack.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Sun Dec 12 12:52:58 UTC 2010 - saschpe@gmx.de + +- Update to version 0.3.1 + * openSUSE template adds definitions for %python_sitelib and + %python_sitearch for older distros + ------------------------------------------------------------------- Sat Dec 11 22:11:39 UTC 2010 - saschpe@gmx.de diff --git a/python-py2pack.spec b/python-py2pack.spec index e80c995..8a1df89 100644 --- a/python-py2pack.spec +++ b/python-py2pack.spec @@ -1,7 +1,7 @@ # # spec file for package python-py2pack # -# Copyright (c) 2010 Sascha Peilicke +# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -11,20 +11,23 @@ # 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/ # # norootforbuild +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} +%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} -Name: python-py2pack -Version: 0.3.0 +%define mod_name py2pack + +Name: python-%{mod_name} +Version: 0.3.1 Release: 0 Url: http://github.com/saschpe/py2pack Summary: Generate distribution packages from Python packages on PyPI License: GPLv2 Group: Development/Languages/Python -%define mod_name py2pack Source: %{mod_name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-devel