Hello community,

here is the log from the commit of package python-Glymur for openSUSE:Factory 
checked in at 2020-05-28 09:16:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-Glymur (Old)
 and      /work/SRC/openSUSE:Factory/.python-Glymur.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-Glymur"

Thu May 28 09:16:44 2020 rev:5 rq:809364 version:0.9.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-Glymur/python-Glymur.changes      
2020-03-26 23:35:02.754813425 +0100
+++ /work/SRC/openSUSE:Factory/.python-Glymur.new.3606/python-Glymur.changes    
2020-05-28 09:16:55.116906992 +0200
@@ -1,0 +2,5 @@
+Tue May 26 06:34:26 UTC 2020 - Petr Gajdos <pgaj...@suse.com>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-Glymur.spec ++++++
--- /var/tmp/diff_new_pack.FaoNyt/_old  2020-05-28 09:16:55.796908596 +0200
+++ /var/tmp/diff_new_pack.FaoNyt/_new  2020-05-28 09:16:55.800908606 +0200
@@ -31,6 +31,8 @@
 BuildRequires:  procps
 BuildRequires:  python-rpm-macros
 Requires:       python-numpy >= 1.7.1
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 Recommends:     python-lxml
 BuildArch:      noarch
 # SECTION test requirements
@@ -52,15 +54,22 @@
 
 %install
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/jp2dump
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
 %pytest
 
+%post
+%python_install_alternative jp2dump
+
+%postun
+%python_uninstall_alternative jp2dump
+
 %files %{python_files}
 %doc README.md CHANGES.txt
 %license LICENSE.txt
-%python3_only %{_bindir}/jp2dump
+%python_alternative %{_bindir}/jp2dump
 %{python_sitelib}/*
 
 %changelog


Reply via email to