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:
Claudio Freire 2011-07-19 10:11:14 +00:00 committed by Git OBS Bridge
parent b8edf4b764
commit f7645e9b60

View File

@ -20,9 +20,12 @@ BuildRequires: fdupes
%if 0%{?suse_version} %if 0%{?suse_version}
Requires: python-base = %{py_ver} Requires: python-base = %{py_ver}
%else %else
BuildRequires:
Requires: python Requires: python
%endif %endif
%if 0%{?fedora}
# Fedora requires python-devel
BuildRequires: python-devel
%endif
%endif %endif
Autoreqprov: on Autoreqprov: on
%if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1} %if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1}