From 57893d5c6d2f976027e378596edbe4ea9bf3c151db4c3c32c9f04b9bb92bc508 Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Mon, 10 Feb 2014 15:34:07 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=57 --- python-setuptools.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python-setuptools.spec b/python-setuptools.spec index 1286409..c83177c 100644 --- a/python-setuptools.spec +++ b/python-setuptools.spec @@ -34,7 +34,7 @@ BuildRequires: python-xml Requires: python Requires: python-xml 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 # obsoletes setuptools < 0.6.45, current setuptools obsoletes distribute again Provides: python-distribute = %{version} @@ -72,7 +72,7 @@ python setup.py test update-alternatives \ --install %{_bindir}/easy_install easy_install %{_bindir}/easy_install-%{py_ver} 20 -%preun +%postun if [ $1 -eq 0 ] ; then update-alternatives --remove easy_install %{_bindir}/easy_install-%{py_ver} fi