14
0

- Update to version 0.4.1.1

* spec file template conforms to spec-cleaner

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-py2pack?expand=0&rev=35
This commit is contained in:
Sascha Peilicke
2012-04-13 12:22:11 +00:00
committed by Git OBS Bridge
parent 1637005ba5
commit 16f6dade15
4 changed files with 15 additions and 11 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-py2pack
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 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,12 +11,12 @@
# 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/
#
Name: python-py2pack
Version: 0.3.21
Version: 0.4.1.1
Release: 0
Url: http://github.com/saschpe/py2pack
Summary: Generate distribution packages from Python packages on PyPI
@@ -29,13 +29,11 @@ BuildRequires: python-devel
BuildRequires: python-Jinja2
Requires: python-argparse
Requires: python-Jinja2
%if 0%{?suse_version}
%py_requires
%if 0%{?suse_version} > 1110
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%else
BuildArch: noarch
%endif
%endif
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%description
This script allows to generate RPM spec or DEB dsc files from Python modules.