Hello community, here is the log from the commit of package python3-flake8 for openSUSE:Factory checked in at 2016-08-18 09:17:45 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python3-flake8 (Old) and /work/SRC/openSUSE:Factory/.python3-flake8.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python3-flake8" Changes: -------- --- /work/SRC/openSUSE:Factory/python3-flake8/python3-flake8.changes 2016-07-14 09:45:31.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python3-flake8.new/python3-flake8.changes 2016-08-18 09:17:46.000000000 +0200 @@ -1,0 +2,5 @@ +Mon Aug 15 14:51:56 UTC 2016 - toddrme2...@gmail.com + +- Fix update-alternatives implementation. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python3-flake8.spec ++++++ --- /var/tmp/diff_new_pack.VjeQSX/_old 2016-08-18 09:17:47.000000000 +0200 +++ /var/tmp/diff_new_pack.VjeQSX/_new 2016-08-18 09:17:47.000000000 +0200 @@ -36,7 +36,7 @@ Requires: python3-pycodestyle >= 1.4.3 Requires: python3-pyflakes >= 0.6.1 Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires(preun): update-alternatives BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch @@ -62,16 +62,14 @@ mkdir -p %{buildroot}%{_sysconfdir}/alternatives mv %{buildroot}%{_bindir}/flake8 %{buildroot}%{_bindir}/flake8-%{py3_ver} ln -s -f %{_sysconfdir}/alternatives/flake8 %{buildroot}%{_bindir}/flake8 -# create a dummy target for /etc/alternatives/flake8 -touch %{buildroot}%{_sysconfdir}/alternatives/flake8 %post -"%_sbindir/update-alternatives" \ +%_sbindir/update-alternatives \ --install %{_bindir}/flake8 flake8 %{_bindir}/flake8-%{py3_ver} 30 -%postun +%preun if [ $1 -eq 0 ] ; then - "%_sbindir/update-alternatives" --remove flake8 %{_bindir}/flake8-%{py3_ver} + %_sbindir/update-alternatives --remove flake8 %{_bindir}/flake8-%{py3_ver} fi %check