Hello community, here is the log from the commit of package python-flake8 for openSUSE:Factory checked in at 2016-08-22 13:59:10 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-flake8 (Old) and /work/SRC/openSUSE:Factory/.python-flake8.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-flake8" Changes: -------- --- /work/SRC/openSUSE:Factory/python-flake8/python-flake8.changes 2016-01-20 09:53:30.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.python-flake8.new/python-flake8.changes 2016-08-22 13:59:12.000000000 +0200 @@ -1,0 +2,5 @@ +Mon Aug 15 14:51:56 UTC 2016 - [email protected] + +- Fix update-alternatives implementation. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-flake8.spec ++++++ --- /var/tmp/diff_new_pack.pP7JyH/_old 2016-08-22 13:59:13.000000000 +0200 +++ /var/tmp/diff_new_pack.pP7JyH/_new 2016-08-22 13:59:13.000000000 +0200 @@ -36,7 +36,7 @@ Requires: python-pep8 >= 1.5.7 Requires: python-pyflakes >= 0.8.1 Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires(preun): update-alternatives BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} && 0%{?suse_version} <= 1110 %{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} @@ -66,16 +66,14 @@ mkdir -p %{buildroot}%{_sysconfdir}/alternatives mv %{buildroot}%{_bindir}/flake8 %{buildroot}%{_bindir}/flake8-%{py_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-%{py_ver} 30 -%postun +%preun if [ $1 -eq 0 ] ; then - "%_sbindir/update-alternatives" --remove flake8 %{_bindir}/flake8-%{py_ver} + %_sbindir/update-alternatives --remove flake8 %{_bindir}/flake8-%{py_ver} fi %check
