OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=57
This commit is contained in:
parent
d7f28b9d11
commit
57893d5c6d
@ -34,7 +34,7 @@ BuildRequires: python-xml
|
|||||||
Requires: python
|
Requires: python
|
||||||
Requires: python-xml
|
Requires: python-xml
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(preun): update-alternatives
|
Requires(postun): update-alternatives
|
||||||
# NOTE(saschpe): Distribute was merged into 0.7.x, so even though distribute
|
# NOTE(saschpe): Distribute was merged into 0.7.x, so even though distribute
|
||||||
# obsoletes setuptools < 0.6.45, current setuptools obsoletes distribute again
|
# obsoletes setuptools < 0.6.45, current setuptools obsoletes distribute again
|
||||||
Provides: python-distribute = %{version}
|
Provides: python-distribute = %{version}
|
||||||
@ -72,7 +72,7 @@ python setup.py test
|
|||||||
update-alternatives \
|
update-alternatives \
|
||||||
--install %{_bindir}/easy_install easy_install %{_bindir}/easy_install-%{py_ver} 20
|
--install %{_bindir}/easy_install easy_install %{_bindir}/easy_install-%{py_ver} 20
|
||||||
|
|
||||||
%preun
|
%postun
|
||||||
if [ $1 -eq 0 ] ; then
|
if [ $1 -eq 0 ] ; then
|
||||||
update-alternatives --remove easy_install %{_bindir}/easy_install-%{py_ver}
|
update-alternatives --remove easy_install %{_bindir}/easy_install-%{py_ver}
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user