Hello community,

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

Package is "python-dns-lexicon"

Thu May 28 09:18:00 2020 rev:12 rq:809413 version:3.3.19

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-dns-lexicon/python-dns-lexicon.changes    
2020-03-30 23:03:33.164181621 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-dns-lexicon.new.3606/python-dns-lexicon.changes
  2020-05-28 09:18:02.205065287 +0200
@@ -1,0 +2,5 @@
+Tue May 26 07:22:41 UTC 2020 - Petr Gajdos <[email protected]>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-dns-lexicon.spec ++++++
--- /var/tmp/diff_new_pack.Gtzo3i/_old  2020-05-28 09:18:02.817066730 +0200
+++ /var/tmp/diff_new_pack.Gtzo3i/_new  2020-05-28 09:18:02.817066730 +0200
@@ -61,6 +61,8 @@
 Requires:       python-transip >= 0.3.0
 Requires:       python-vcrpy
 Requires:       python-xmltodict
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 # Completely different pkg but same namespace
 Conflicts:      python-lexicon
 BuildArch:      noarch
@@ -89,15 +91,22 @@
 
 %install
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/lexicon
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
 %pytest lexicon/tests
 
+%post
+%python_install_alternative lexicon
+
+%postun
+%python_uninstall_alternative lexicon
+
 %files %{python_files}
 %{python_sitelib}
 %license LICENSE
 %doc README.md
-%python3_only %{_bindir}/lexicon
+%python_alternative %{_bindir}/lexicon
 
 %changelog


Reply via email to