Hello community, here is the log from the commit of package python-XlsxWriter for openSUSE:Factory checked in at 2016-08-17 12:05:17 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-XlsxWriter (Old) and /work/SRC/openSUSE:Factory/.python-XlsxWriter.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-XlsxWriter" Changes: -------- --- /work/SRC/openSUSE:Factory/python-XlsxWriter/python-XlsxWriter.changes 2016-08-03 11:42:47.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python-XlsxWriter.new/python-XlsxWriter.changes 2016-08-17 12:05:19.000000000 +0200 @@ -1,0 +2,5 @@ +Mon Aug 15 14:51:56 UTC 2016 - toddrme2...@gmail.com + +- Fix update-alternatives implementation. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-XlsxWriter.spec ++++++ --- /var/tmp/diff_new_pack.dSh79J/_old 2016-08-17 12:05:20.000000000 +0200 +++ /var/tmp/diff_new_pack.dSh79J/_new 2016-08-17 12:05:20.000000000 +0200 @@ -27,7 +27,7 @@ BuildRequires: python-devel BuildRequires: python-setuptools Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires(preun): update-alternatives # python-xlsxwriter was last used in openSUSE Leap 42.1. Provides: python-xlsxwriter = %{version} Obsoletes: python-xlsxwriter < %{version} @@ -59,24 +59,22 @@ mv %{buildroot}%{_bindir}/vba_extract.py \ %{buildroot}%{_bindir}/vba_extract-%{py_ver} ln -sf %{_sysconfdir}/alternatives/vba_extract %{buildroot}%{_bindir}/vba_extract -# Create a dummy target for /etc/alternatives/vba_extract. -touch %{buildroot}%{_sysconfdir}/alternatives/vba_extract %post -"%{_sbindir}/update-alternatives" \ +%_sbindir/update-alternatives \ --install %{_bindir}/vba_extract vba_extract %{_bindir}/vba_extract-%{py_ver} 30 -%postun +%preun if [ $1 -eq 0 ] ; then - "%{_sbindir}/update-alternatives" --remove vba_extract %{_bindir}/vba_extract-%{py_ver} + %_sbindir/update-alternatives --remove vba_extract %{_bindir}/vba_extract-%{py_ver} fi %files %defattr(-,root,root) %doc Changes LICENSE.txt README.rst -%ghost %{_sysconfdir}/alternatives/vba_extract %{_bindir}/vba_extract %{_bindir}/vba_extract-%{py_ver} +%ghost %{_sysconfdir}/alternatives/vba_extract %{python_sitelib}/xlsxwriter/ %{python_sitelib}/XlsxWriter-%{version}-py*.egg-info