SLES <=9 don't have fdupes
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ipaddr?expand=0&rev=3
This commit is contained in:
parent
ed3514186f
commit
149d3b68e4
@ -11,7 +11,7 @@ Source0: http://ipaddr-py.googlecode.com/files/ipaddr-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-build
|
||||
Requires: python
|
||||
BuildRequires: python-devel python-setuptools
|
||||
%if 0%{?suse_version}
|
||||
%if 0%{?suse_version} && ( 0%{?sles_version} < 1 || 0%{?sles_version} > 10 )
|
||||
BuildRequires: fdupes
|
||||
%endif
|
||||
%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
|
||||
%{__python} setup.py install --prefix=%{_prefix} --root=%{buildroot} --compile --optimize=2 --record=INSTALLED_FILES
|
||||
%endif
|
||||
%if 0%{?suse_version}
|
||||
%if 0%{?suse_version} && ( 0%{?sles_version} < 1 || 0%{?sles_version} > 10 )
|
||||
%fdupes %{buildroot}%{py_sitedir}
|
||||
%endif
|
||||
%if 0%{?mdkversion} >= 201001
|
||||
|
Loading…
Reference in New Issue
Block a user