Hello community,
here is the log from the commit of package python3-XlsxWriter for
openSUSE:Factory checked in at 2016-08-18 09:17:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python3-XlsxWriter (Old)
and /work/SRC/openSUSE:Factory/.python3-XlsxWriter.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python3-XlsxWriter"
Changes:
--------
--- /work/SRC/openSUSE:Factory/python3-XlsxWriter/python3-XlsxWriter.changes
2016-07-28 23:46:22.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.python3-XlsxWriter.new/python3-XlsxWriter.changes
2016-08-18 09:17:45.000000000 +0200
@@ -1,0 +2,5 @@
+Mon Aug 15 14:51:56 UTC 2016 - [email protected]
+
+- Fix update-alternatives implementation.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python3-XlsxWriter.spec ++++++
--- /var/tmp/diff_new_pack.XAt9BZ/_old 2016-08-18 09:17:46.000000000 +0200
+++ /var/tmp/diff_new_pack.XAt9BZ/_new 2016-08-18 09:17:46.000000000 +0200
@@ -27,7 +27,7 @@
BuildRequires: python3-devel
BuildRequires: python3-setuptools
Requires(post): update-alternatives
-Requires(postun): update-alternatives
+Requires(preun): update-alternatives
# python3-xlsxwriter was last used in openSUSE Leap 42.1.
Provides: python3-xlsxwriter = %{version}
Obsoletes: python3-xlsxwriter < %{version}
@@ -54,24 +54,22 @@
mv %{buildroot}%{_bindir}/vba_extract.py \
%{buildroot}%{_bindir}/vba_extract-%{py3_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-%{py3_ver} 30
-%postun
+%preun
if [ $1 -eq 0 ] ; then
- "%{_sbindir}/update-alternatives" --remove vba_extract
%{_bindir}/vba_extract-%{py3_ver}
+ %{_sbindir}/update-alternatives --remove vba_extract
%{_bindir}/vba_extract-%{py3_ver}
fi
%files
%defattr(-,root,root)
%doc Changes LICENSE.txt README.rst
-%ghost %{_sysconfdir}/alternatives/vba_extract
%{_bindir}/vba_extract
%{_bindir}/vba_extract-%{py3_ver}
+%ghost %{_sysconfdir}/alternatives/vba_extract
%{python3_sitelib}/xlsxwriter/
%{python3_sitelib}/XlsxWriter-%{version}-py*.egg-info