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
This commit is contained in:
Matej Cepl 2020-04-21 12:03:13 +00:00 committed by Git OBS Bridge
parent fe216bca94
commit 615e5f2174

View File

@ -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