diff --git a/python-ipaddr.spec b/python-ipaddr.spec index 882a1a3..edd9413 100644 --- a/python-ipaddr.spec +++ b/python-ipaddr.spec @@ -14,10 +14,12 @@ BuildRequires: python-devel python-setuptools %if 0%{?suse_version} > 1010 BuildRequires: fdupes %endif -%if (0%{?suse_version} < 1130) && (0%{?suse_version} > 0) +%if (0%{?suse_version} < 1130) +%if (0%{?suse_version} > 0) # py_requires is no longer needed since 11.3 %{py_requires} %endif +%endif Autoreqprov: on %if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1} BuildArchitectures: noarch