Somehow SLE doesn't like the sles_version macro :(
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ipaddr?expand=0&rev=5
This commit is contained in:
parent
7b6796b171
commit
2f6e82342d
@ -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} && ( (0%{?sles_version} < 1) || (0%{?sles_version} > 10) ) )
|
||||
%if 0%{?suse_version} > 1010
|
||||
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} && ( 0%{?sles_version} < 1 || 0%{?sles_version} > 10 )
|
||||
%if 0%{?suse_version} > 1010
|
||||
%fdupes %{buildroot}%{py_sitedir}
|
||||
%endif
|
||||
%if 0%{?mdkversion} >= 201001
|
||||
|
Loading…
Reference in New Issue
Block a user