Hello community,

here is the log from the commit of package python-asdf for openSUSE:Factory 
checked in at 2020-06-03 20:34:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-asdf (Old)
 and      /work/SRC/openSUSE:Factory/.python-asdf.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-asdf"

Wed Jun  3 20:34:53 2020 rev:6 rq:809814 version:2.5.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-asdf/python-asdf.changes  2020-04-07 
10:32:09.362563829 +0200
+++ /work/SRC/openSUSE:Factory/.python-asdf.new.3606/python-asdf.changes        
2020-06-03 20:35:39.809763329 +0200
@@ -1,0 +2,5 @@
+Wed May 27 09:36:04 UTC 2020 - Petr Gajdos <[email protected]>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-asdf.spec ++++++
--- /var/tmp/diff_new_pack.fSEj3P/_old  2020-06-03 20:35:41.009767090 +0200
+++ /var/tmp/diff_new_pack.fSEj3P/_new  2020-06-03 20:35:41.013767103 +0200
@@ -37,6 +37,8 @@
 Requires:       python-numpy >= 1.8
 Requires:       python-semantic_version >= 2.8
 Requires:       python-six >= 1.9.0
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 BuildArch:      noarch
 # SECTION test requirements
 BuildRequires:  %{python_module PyYAML >= 3.10}
@@ -69,16 +71,23 @@
 
 %install
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/asdftool
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
 export LANG=en_US.UTF-8
 %pytest
 
+%post
+%python_install_alternative asdftool
+
+%postun
+%python_uninstall_alternative asdftool
+
 %files %{python_files}
 %doc CHANGES.rst README.rst
 %license licenses/*
-%python3_only %{_bindir}/asdftool
+%python_alternative %{_bindir}/asdftool
 %{python_sitelib}/*
 
 %changelog


Reply via email to