forked from pool/python-py2pack
- Only require python-argparse on SLE, it's part of Python-2.7
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-py2pack?expand=0&rev=39
This commit is contained in:
committed by
Git OBS Bridge
parent
f25e573a8f
commit
3fa2dc1d9a
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 17 12:15:02 UTC 2013 - speilicke@suse.com
|
||||
|
||||
- Only require python-argparse on SLE, it's part of Python-2.7
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 3 10:25:01 UTC 2013 - speilicke@suse.com
|
||||
|
||||
|
@@ -27,9 +27,9 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: python-argparse
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-Jinja2
|
||||
Requires: python-argparse
|
||||
Requires: python-Jinja2
|
||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
||||
Requires: python-argparse
|
||||
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
%else
|
||||
BuildArch: noarch
|
||||
|
Reference in New Issue
Block a user