Remove empty BuildRequires, and support fedora distros too.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ipaddr?expand=0&rev=12
This commit is contained in:
parent
b8edf4b764
commit
f7645e9b60
@ -20,9 +20,12 @@ BuildRequires: fdupes
|
||||
%if 0%{?suse_version}
|
||||
Requires: python-base = %{py_ver}
|
||||
%else
|
||||
BuildRequires:
|
||||
Requires: python
|
||||
%endif
|
||||
%if 0%{?fedora}
|
||||
# Fedora requires python-devel
|
||||
BuildRequires: python-devel
|
||||
%endif
|
||||
%endif
|
||||
Autoreqprov: on
|
||||
%if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1}
|
||||
|
Loading…
Reference in New Issue
Block a user