OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ipaddr?expand=0&rev=9
This commit is contained in:
parent
9a7d9fd057
commit
5765defa00
@ -9,22 +9,18 @@ License: Apache 2.0
|
||||
URL: http://code.google.com/p/ipaddr-py/
|
||||
Source0: http://ipaddr-py.googlecode.com/files/ipaddr-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-build
|
||||
%if 0%{?suse_version}
|
||||
Requires: python-base = %py_ver
|
||||
%else
|
||||
Requires: python
|
||||
%endif
|
||||
BuildRequires: python-devel python-setuptools
|
||||
BuildRequires: python-setuptools
|
||||
%if 0%{?suse_version} > 1010
|
||||
BuildRequires: fdupes
|
||||
%endif
|
||||
%if (0%{?suse_version} > 0) && (0%{?suse_version} < 1130)
|
||||
%if 0%{?suse_version} > 0 && 0%{?suse_version} < 1130
|
||||
# py_requires is no longer needed since 11.3
|
||||
%{py_requires}
|
||||
%{py_requires} -d
|
||||
%else
|
||||
%if 0%{?suse_version}
|
||||
Requires: python-base = %py_ver
|
||||
Requires: python-base = %{py_ver}
|
||||
%else
|
||||
BuildRequires: python-devel
|
||||
Requires: python
|
||||
%endif
|
||||
%endif
|
||||
|
Loading…
Reference in New Issue
Block a user