From 63408e0cf0646f7570e315d3bf39508d1356015bf2898851edcc6dda014317a2 Mon Sep 17 00:00:00 2001 From: Jan Matejek Date: Wed, 29 Mar 2017 13:53:23 +0000 Subject: [PATCH] - uninstall alternatives in %postun OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pbr?expand=0&rev=64 --- python-pbr.changes | 5 +++++ python-pbr.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/python-pbr.changes b/python-pbr.changes index b90b98e..d9ba85c 100644 --- a/python-pbr.changes +++ b/python-pbr.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Mar 29 13:53:04 UTC 2017 - jmatejek@suse.com + +- uninstall alternatives in %postun + ------------------------------------------------------------------- Wed Mar 29 11:59:27 UTC 2017 - tbechtold@suse.com diff --git a/python-pbr.spec b/python-pbr.spec index 65b5fb8..e801fbc 100644 --- a/python-pbr.spec +++ b/python-pbr.spec @@ -87,7 +87,7 @@ mv %{buildroot}%{_bindir}/pbr %{buildroot}%{_bindir}/pbr-%{$python_bin_suffix} %post %python_install_alternative pbr -%preun +%postun %python_uninstall_alternative pbr %files %{python_files}