Hello community, here is the log from the commit of package python3-pyflakes for openSUSE:Factory checked in at 2016-08-18 09:17:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python3-pyflakes (Old) and /work/SRC/openSUSE:Factory/.python3-pyflakes.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python3-pyflakes" Changes: -------- --- /work/SRC/openSUSE:Factory/python3-pyflakes/python3-pyflakes.changes 2016-05-16 12:04:14.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python3-pyflakes.new/python3-pyflakes.changes 2016-08-18 09:17:22.000000000 +0200 @@ -1,0 +2,5 @@ +Mon Aug 15 14:51:56 UTC 2016 - [email protected] + +- Fix update-alternatives implementation. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python3-pyflakes.spec ++++++ --- /var/tmp/diff_new_pack.NF5GVh/_old 2016-08-18 09:17:23.000000000 +0200 +++ /var/tmp/diff_new_pack.NF5GVh/_new 2016-08-18 09:17:23.000000000 +0200 @@ -35,7 +35,7 @@ # the pkg_resources module is required at runtime Requires: python3-setuptools Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires(preun): update-alternatives BuildArch: noarch %description @@ -56,18 +56,16 @@ mkdir -p %{buildroot}%{_sysconfdir}/alternatives mv %{buildroot}%{_bindir}/pyflakes %{buildroot}%{_bindir}/pyflakes-%{py3_ver} ln -s -f %{_sysconfdir}/alternatives/pyflakes %{buildroot}%{_bindir}/pyflakes -# create a dummy target for /etc/alternatives/pyflakes -touch %{buildroot}%{_sysconfdir}/alternatives/pyflakes # Leave existing executable name in place ln -s -f %{_bindir}/pyflakes-%{py3_ver} %{buildroot}%{_bindir}/pyflakes-python%{py3_ver} %post -"%_sbindir/update-alternatives" \ +%_sbindir/update-alternatives \ --install %{_bindir}/pyflakes pyflakes %{_bindir}/pyflakes-%{py3_ver} 30 -%postun +%preun if [ $1 -eq 0 ] ; then - "%_sbindir/update-alternatives" --remove pyflakes %{_bindir}/pyflakes-%{py3_ver} + %_sbindir/update-alternatives --remove pyflakes %{_bindir}/pyflakes-%{py3_ver} fi %files
