Claudio Freire 2011-07-19 09:33:47 +00:00 committed by Git OBS Bridge
parent 5765defa00
commit 2c15dc38f5

View File

@ -5,7 +5,7 @@ Version: 2.1.9
Release: 1 Release: 1
Summary: Python IP address manipulation library Summary: Python IP address manipulation library
Group: Development/Libraries/Python Group: Development/Libraries/Python
License: Apache 2.0 License: Apache License, Version 2.0
URL: http://code.google.com/p/ipaddr-py/ URL: http://code.google.com/p/ipaddr-py/
Source0: http://ipaddr-py.googlecode.com/files/ipaddr-%{version}.tar.gz Source0: http://ipaddr-py.googlecode.com/files/ipaddr-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-build BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-build
@ -15,12 +15,12 @@ BuildRequires: fdupes
%endif %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 is no longer needed since 11.3
%{py_requires} -d %py_requires -d
%else %else
%if 0%{?suse_version} %if 0%{?suse_version}
Requires: python-base = %{py_ver} Requires: python-base = %{py_ver}
%else %else
BuildRequires: python-devel BuildRequires:
Requires: python Requires: python
%endif %endif
%endif %endif