- Fix using update_alternatives.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python2-setuptools?expand=0&rev=9
This commit is contained in:
parent
b31fb1b1d6
commit
8f6b92fd92
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 21 11:55:39 UTC 2020 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- Fix using update_alternatives.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 7 08:39:25 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
|
@ -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/*
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user