14
0

Accepting request 68552 from devel:languages:python

Accepted submit request 68552 from user coolo

OBS-URL: https://build.opensuse.org/request/show/68552
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-py2pack?expand=0&rev=12
This commit is contained in:
2011-04-28 01:19:02 +00:00
committed by Git OBS Bridge
4 changed files with 17 additions and 13 deletions

View File

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

3
py2pack-0.3.15.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Apr 27 09:47:18 UTC 2011 - saschpe@suse.de
- Update to version 0.3.15
* Minor SUSE template fixes
-------------------------------------------------------------------
Thu Mar 31 14:19:15 UTC 2011 - saschpe@suse.de

View File

@@ -11,36 +11,34 @@
# 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/
#
%{!?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.14
Release: 1
Version: 0.3.15
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
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-argparse
BuildRequires: python-devel
BuildRequires: python-jinja2
Requires: python-jinja2
BuildRequires: python-argparse
Requires: python-argparse
Requires: python-jinja2
%if 0%{?suse_version}
%py_requires
%if %{?suse_version: %{suse_version} > 1110}
%if 0%{?suse_version} > 1110
BuildArch: noarch
%endif
%endif
%{!?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)")}
%description
This script allows to generate RPM spec or DEB dsc files from Python modules.