forked from pool/python-py2pack
- Update to version 0.3.15
* Minor SUSE template fixes OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-py2pack?expand=0&rev=28
This commit is contained in:
committed by
Git OBS Bridge
parent
c664f2e630
commit
a8f4a9c921
@@ -15,13 +15,10 @@
|
||||
# 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
|
||||
Version: 0.3.15
|
||||
Release: 0
|
||||
Url: http://github.com/saschpe/py2pack
|
||||
Summary: Generate distribution packages from Python packages on PyPI
|
||||
@@ -29,17 +26,19 @@ 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.
|
||||
|
Reference in New Issue
Block a user