Hello community, here is the log from the commit of package python-pep8 for openSUSE:Factory checked in at 2016-08-22 13:59:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pep8 (Old) and /work/SRC/openSUSE:Factory/.python-pep8.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pep8" Changes: -------- --- /work/SRC/openSUSE:Factory/python-pep8/python-pep8.changes 2016-01-20 09:53:32.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.python-pep8.new/python-pep8.changes 2016-08-22 13:59:04.000000000 +0200 @@ -1,0 +2,5 @@ +Mon Aug 15 14:51:56 UTC 2016 - [email protected] + +- Fix update-alternatives implementation. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pep8.spec ++++++ --- /var/tmp/diff_new_pack.Re0mjl/_old 2016-08-22 13:59:05.000000000 +0200 +++ /var/tmp/diff_new_pack.Re0mjl/_new 2016-08-22 13:59:05.000000000 +0200 @@ -30,7 +30,7 @@ BuildRequires: python-setuptools Requires: python-setuptools Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires(preun): update-alternatives %if 0%{?suse_version} <= 1110 %{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} %else @@ -54,18 +54,16 @@ mkdir -p %{buildroot}%{_sysconfdir}/alternatives mv %{buildroot}%{_bindir}/pep8 %{buildroot}%{_bindir}/pep8-%{py_ver} ln -s -f %{_sysconfdir}/alternatives/pep8 %{buildroot}%{_bindir}/pep8 -# create a dummy target for /etc/alternatives/pep8 -touch %{buildroot}%{_sysconfdir}/alternatives/pep8 %fdupes %{buildroot}%{python_sitelib} %post -"%_sbindir/update-alternatives" \ +%_sbindir/update-alternatives \ --install %{_bindir}/pep8 pep8 %{_bindir}/pep8-%{py_ver} 30 -%postun +%preun if [ $1 -eq 0 ] ; then - "%_sbindir/update-alternatives" --remove pep8 %{_bindir}/pep8-%{py_ver} + %_sbindir/update-alternatives --remove pep8 %{_bindir}/pep8-%{py_ver} fi %check
