Hello community,

here is the log from the commit of package python-rstcheck for openSUSE:Factory 
checked in at 2020-05-19 14:57:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-rstcheck (Old)
 and      /work/SRC/openSUSE:Factory/.python-rstcheck.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-rstcheck"

Tue May 19 14:57:57 2020 rev:4 rq:807282 version:3.3.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-rstcheck/python-rstcheck.changes  
2020-03-10 12:43:31.553130200 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-rstcheck.new.2738/python-rstcheck.changes    
    2020-05-19 14:58:09.801357982 +0200
@@ -1,0 +2,5 @@
+Tue May 19 09:27:48 UTC 2020 - Petr Gajdos <pgaj...@suse.com>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-rstcheck.spec ++++++
--- /var/tmp/diff_new_pack.LHGrFq/_old  2020-05-19 14:58:10.745360075 +0200
+++ /var/tmp/diff_new_pack.LHGrFq/_new  2020-05-19 14:58:10.749360084 +0200
@@ -35,6 +35,8 @@
 BuildRequires:  gcc-c++
 BuildRequires:  python-rpm-macros
 Requires:       python-docutils >= 0.7
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 Recommends:     bash
 Recommends:     gcc
 Recommends:     gcc-c++
@@ -61,6 +63,7 @@
 
 %install
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/rstcheck
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
@@ -72,10 +75,16 @@
 #PYTHON=$python ./test.bash
 #}
 
+%post
+%python_install_alternative rstcheck
+
+%postun
+%python_uninstall_alternative rstcheck
+
 %files %{python_files}
 %license LICENSE
 %doc AUTHORS.rst README.rst
-%python3_only %{_bindir}/rstcheck
+%python_alternative %{_bindir}/rstcheck
 %{python_sitelib}/*
 
 %changelog


Reply via email to