Hello community, here is the log from the commit of package python-parallax for openSUSE:Factory checked in at 2016-08-17 12:05:37 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-parallax (Old) and /work/SRC/openSUSE:Factory/.python-parallax.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-parallax" Changes: -------- --- /work/SRC/openSUSE:Factory/python-parallax/python-parallax.changes 2016-05-02 10:44:43.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python-parallax.new/python-parallax.changes 2016-08-17 12:05:39.000000000 +0200 @@ -1,0 +2,5 @@ +Mon Aug 15 14:51:56 UTC 2016 - [email protected] + +- Fix update-alternatives implementation. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-parallax.spec ++++++ --- /var/tmp/diff_new_pack.yZKxnk/_old 2016-08-17 12:05:40.000000000 +0200 +++ /var/tmp/diff_new_pack.yZKxnk/_new 2016-08-17 12:05:40.000000000 +0200 @@ -29,8 +29,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: openssh BuildArch: noarch -Requires(post): /usr/sbin/update-alternatives -Requires(postun): /usr/sbin/update-alternatives +Requires(post): update-alternatives +Requires(preun): update-alternatives %description Parallax SSH provides an interface to executing commands on multiple @@ -47,18 +47,17 @@ python setup.py install --prefix=%{_prefix} --root=%{buildroot} # create a dummy target for /etc/alternatives/parallax-askpass -mv %{buildroot}%{_bindir}/parallax-askpass %{buildroot}%{_bindir}/parallax-askpass-%{py_ver} mkdir -p %{buildroot}%{_sysconfdir}/alternatives -touch %{buildroot}%{_sysconfdir}/alternatives/parallax-askpass +mv %{buildroot}%{_bindir}/parallax-askpass %{buildroot}%{_bindir}/parallax-askpass-%{py_ver} ln -s -f %{_sysconfdir}/alternatives/parallax-askpass %{buildroot}%{_bindir}/parallax-askpass %post -"%_sbindir/update-alternatives" --install \ - /%{_bindir}/parallax-askpass parallax-askpass %{_bindir}/parallax-askpass-%{py_ver} 20 +%_sbindir/update-alternatives \ + --install %{_bindir}/parallax-askpass parallax-askpass %{_bindir}/parallax-askpass-%{py_ver} 20 -%postun +%preun if [ "$1" = 0 ] ; then - "%_sbindir/update-alternatives" --remove parallax-askpass %{_bindir}/parallax-askpass-%{py_ver} + %_sbindir/update-alternatives --remove parallax-askpass %{_bindir}/parallax-askpass-%{py_ver} fi %files
