Hello community,

here is the log from the commit of package python-vobject for openSUSE:Factory 
checked in at 2016-08-17 12:05:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-vobject (Old)
 and      /work/SRC/openSUSE:Factory/.python-vobject.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-vobject"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-vobject/python-vobject.changes    
2016-07-14 09:45:09.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-vobject.new/python-vobject.changes       
2016-08-17 12:05:23.000000000 +0200
@@ -1,0 +2,5 @@
+Mon Aug 15 14:51:56 UTC 2016 - toddrme2...@gmail.com
+
+- Fix update-alternatives implementation.
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-vobject.spec ++++++
--- /var/tmp/diff_new_pack.eWHznI/_old  2016-08-17 12:05:24.000000000 +0200
+++ /var/tmp/diff_new_pack.eWHznI/_new  2016-08-17 12:05:24.000000000 +0200
@@ -34,7 +34,7 @@
 Requires:       python-six
 Recommends:     python-PyICU
 Requires(post): update-alternatives
-Requires(postun): update-alternatives
+Requires(preun): update-alternatives
 #replacement for vobject
 
 Provides:              vobject = %{version}
@@ -68,18 +68,16 @@
 for p in change_tz ics_diff ; do
     mv %{buildroot}%{_bindir}/$p %{buildroot}%{_bindir}/$p-%{py_ver}
     ln -s -f %{_sysconfdir}/alternatives/$p %{buildroot}%{_bindir}/$p
-    # create a dummy target for /etc/alternatives/$p
-    touch %{buildroot}%{_sysconfdir}/alternatives/$p
 done
 
 %post
-"%_sbindir/update-alternatives" \
+%_sbindir/update-alternatives \
    --install %{_bindir}/change_tz change_tz %{_bindir}/change_tz-%{py_ver} 30 \
    --slave %{_bindir}/ics_diff ics_diff %{_bindir}/ics_diff-%{py_ver}
 
-%postun
+%preun
 if [ $1 -eq 0 ] ; then
-    "%_sbindir/update-alternatives" --remove change_tz 
%{_bindir}/change_tz-%{py_ver}
+    %_sbindir/update-alternatives --remove change_tz 
%{_bindir}/change_tz-%{py_ver}
 fi
 
 %files


Reply via email to