Hello community, here is the log from the commit of package python3-unittest2 for openSUSE:Factory checked in at 2016-08-22 13:58:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python3-unittest2 (Old) and /work/SRC/openSUSE:Factory/.python3-unittest2.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python3-unittest2" Changes: -------- --- /work/SRC/openSUSE:Factory/python3-unittest2/python3-unittest2.changes 2016-05-17 17:13:28.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python3-unittest2.new/python3-unittest2.changes 2016-08-22 13:58:30.000000000 +0200 @@ -1,0 +2,5 @@ +Mon Aug 15 14:51:56 UTC 2016 - [email protected] + +- Fix update-alternatives implementation. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python3-unittest2.spec ++++++ --- /var/tmp/diff_new_pack.4RRqKJ/_old 2016-08-22 13:58:31.000000000 +0200 +++ /var/tmp/diff_new_pack.4RRqKJ/_new 2016-08-22 13:58:31.000000000 +0200 @@ -34,7 +34,7 @@ Requires: python3-six Requires: python3-traceback2 Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires(preun): update-alternatives BuildArch: noarch %description @@ -59,12 +59,12 @@ touch %{buildroot}%{_sysconfdir}/alternatives/unit2 %post -"%_sbindir/update-alternatives" \ +%_sbindir/update-alternatives \ --install %{_bindir}/unit2 unit2 %{_bindir}/unit2-%{py3_ver} 30 -%postun +%preun if [ $1 -eq 0 ] ; then - "%_sbindir/update-alternatives" --remove unit2 %{_bindir}/unit2-%{py3_ver} + %_sbindir/update-alternatives --remove unit2 %{_bindir}/unit2-%{py3_ver} fi %files
