diff --git a/libmodulemd.spec.in b/libmodulemd.spec.in index a404db8db..f9efe9317 100644 --- a/libmodulemd.spec.in +++ b/libmodulemd.spec.in @@ -60,7 +60,6 @@ Summary: Python 2 bindings for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} Requires: python-gobject-base Requires: python-six -Obsoletes: python2-modulemd < 1.3.4 %description -n python2-%{name} Python 2 bindings for %{name} @@ -71,8 +70,13 @@ Python 2 bindings for %{name} Summary: Python 3 bindings for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} Requires: python%{python3_pkgversion}-gobject-base + +%if (0%{?rhel} && 0%{?rhel} <= 7) +# The py3_dist macro on EPEL 7 doesn't work right at the moment +Requires: python3.6dist(six) +%else Requires: %{py3_dist six} -Obsoletes: python%{python3_pkgversion}-modulemd < 1.3.4 +%endif %description -n python%{python3_pkgversion}-%{name} Python %{python3_pkgversion} bindings for %{name} diff --git a/libmodulemd2.spec b/libmodulemd2.spec deleted file mode 120000 index 7f4a7638d..000000000 --- a/libmodulemd2.spec +++ /dev/null @@ -1 +0,0 @@ -libmodulemd.spec \ No newline at end of file