14
0

Accepting request 59376 from devel:languages:python

Accepted submit request 59376 from user saschpe

OBS-URL: https://build.opensuse.org/request/show/59376
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-py2pack?expand=0&rev=3
This commit is contained in:
Ruediger Oertel
2011-02-02 00:59:53 +00:00
committed by Git OBS Bridge
4 changed files with 23 additions and 12 deletions

3
py2pack-0.3.10.tar.bz2 Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6b795f013c4b46f26236c829f59728005ab48f8e9459f36c5804e207a3f0a38c
size 11687

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1e33db1d007ebb91f43f0b8de7b56d9f2e5d233df3f77629b6acd234eb062718
size 12247

View File

@@ -1,3 +1,17 @@
-------------------------------------------------------------------
Wed Jan 26 17:31:40 UTC 2011 - saschpe@gmx.de
- Update to version 0.3.10
* Removed SUSE-specific %files section
* Added README.rst
-------------------------------------------------------------------
Tue Jan 25 14:13:51 UTC 2011 - saschpe@suse.de
- Update to version 0.3.9
* Automatically install egg-info on non-SUSE distros
- Recompressed with bzip2
-------------------------------------------------------------------
Tue Jan 18 12:44:40 UTC 2011 - saschpe@suse.de

View File

@@ -11,25 +11,24 @@
# 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)")}
%define mod_name py2pack
Name: python-%{mod_name}
Version: 0.3.7
Release: 1
Version: 0.3.10
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: %{mod_name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-devel
BuildRequires: python-jinja2
@@ -57,16 +56,14 @@ export CFLAGS="%{optflags}"
python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot} %{?suse_version: --record-rpm=INSTALLED_FILES}
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%clean
rm -rf %{buildroot}
%files %{?suse_version: -f INSTALLED_FILES}
%files
%defattr(-,root,root,-)
%if 0%{!?suse_version:1}
%{_bindir}/%{mod_name}
%python_sitelib/%{mod_name}*
%endif
%changelog