Claudio Freire 2011-07-19 09:25:27 +00:00 committed by Git OBS Bridge
parent 9a7d9fd057
commit 5765defa00

View File

@ -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