diff --git a/pyelftools.spec b/pyelftools.spec index d28a3ac..3f97019 100644 --- a/pyelftools.spec +++ b/pyelftools.spec @@ -1,4 +1,4 @@ -%if 0%{?fedora} > 28 || 0%{?rhel} >= 8 +%if 0%{?fedora} || 0%{?rhel} >= 8 %global py2readelf py2readelf %global py3readelf pyreadelf %else @@ -47,9 +47,6 @@ Summary: %{summary} Requires: python2-construct %{?python_provide:%python_provide python2-%{name}} # Remove before F30 -%if 0%{?fedora} < 29 -Provides: %{name} = %{version}-%{release} -%endif %description -n python2-%{name} %_description %endif # with_python2