Claudio Freire 2011-07-19 08:35:58 +00:00 committed by Git OBS Bridge
parent ed3514186f
commit 149d3b68e4

View File

@ -11,7 +11,7 @@ Source0: http://ipaddr-py.googlecode.com/files/ipaddr-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-build BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-build
Requires: python Requires: python
BuildRequires: python-devel python-setuptools BuildRequires: python-devel python-setuptools
%if 0%{?suse_version} %if 0%{?suse_version} && ( 0%{?sles_version} < 1 || 0%{?sles_version} > 10 )
BuildRequires: fdupes BuildRequires: fdupes
%endif %endif
%if (0%{?suse_version} < 1130) && (0%{?suse_version} > 0) %if (0%{?suse_version} < 1130) && (0%{?suse_version} > 0)
@ -38,7 +38,7 @@ An IPv4/IPv6 manipulation library in Python. This library is used to create/poke
%else %else
%{__python} setup.py install --prefix=%{_prefix} --root=%{buildroot} --compile --optimize=2 --record=INSTALLED_FILES %{__python} setup.py install --prefix=%{_prefix} --root=%{buildroot} --compile --optimize=2 --record=INSTALLED_FILES
%endif %endif
%if 0%{?suse_version} %if 0%{?suse_version} && ( 0%{?sles_version} < 1 || 0%{?sles_version} > 10 )
%fdupes %{buildroot}%{py_sitedir} %fdupes %{buildroot}%{py_sitedir}
%endif %endif
%if 0%{?mdkversion} >= 201001 %if 0%{?mdkversion} >= 201001