From 615e5f2174156bd0a934e002871787a33750459e32456e92d100ec023ca5a4e1 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 21 Apr 2020 12:03:13 +0000 Subject: [PATCH] python_alternative actually doesn't work without python_subpackages run OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python2-setuptools?expand=0&rev=11 --- python2-setuptools.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python2-setuptools.spec b/python2-setuptools.spec index 780f282..bab5dfb 100644 --- a/python2-setuptools.spec +++ b/python2-setuptools.spec @@ -69,11 +69,12 @@ sed -r -i '1s@^#!/.*$@@' setuptools/command/easy_install.py \ %files %license LICENSE %doc CHANGES.rst README.rst -%python_alternative %{_bindir}/easy_install +%{_bindir}/easy_install* %{python2_sitelib}/easy_install* %{python2_sitelib}/setuptools %{python2_sitelib}/setuptools-%{version}-py*.egg-info %dir %{python2_sitelib}/pkg_resources %{python2_sitelib}/pkg_resources/* +%ghost %_sysconfdir/alternatives/easy_install %changelog