diff --git a/python2-setuptools.changes b/python2-setuptools.changes index ce377d0..340975c 100644 --- a/python2-setuptools.changes +++ b/python2-setuptools.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Apr 21 11:55:39 UTC 2020 - Matej Cepl + +- Fix using update_alternatives. + ------------------------------------------------------------------- Tue Apr 7 08:39:25 UTC 2020 - Tomáš Chvátal diff --git a/python2-setuptools.spec b/python2-setuptools.spec index bc7a4f4..a4e9492 100644 --- a/python2-setuptools.spec +++ b/python2-setuptools.spec @@ -57,7 +57,7 @@ sed -r -i '1s@^#!/.*$@@' setuptools/command/easy_install.py \ %install %python2_install -%prepare_alternative easy_install +%python_clone -a %{buildroot}%{_bindir}/easy_install %fdupes %{buildroot}%{python2_sitelib} %post @@ -72,7 +72,6 @@ sed -r -i '1s@^#!/.*$@@' setuptools/command/easy_install.py \ %python_alternative %{_bindir}/easy_install %{python2_sitelib}/setuptools %{python2_sitelib}/setuptools-%{version}-py*.egg-info -%{python2_sitelib}/easy_install.py* %dir %{python2_sitelib}/pkg_resources %{python2_sitelib}/pkg_resources/*