Hello community,

here is the log from the commit of package python-proselint for 
openSUSE:Leap:15.2 checked in at 2020-06-01 23:02:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-proselint (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.python-proselint.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-proselint"

Mon Jun  1 23:02:52 2020 rev:6 rq:801230 version:0.10.2

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-proselint/python-proselint.changes      
2020-04-25 19:06:22.199761532 +0200
+++ 
/work/SRC/openSUSE:Leap:15.2/.python-proselint.new.3606/python-proselint.changes
    2020-06-01 23:02:53.330698230 +0200
@@ -1,0 +2,5 @@
+Wed May  6 09:49:35 UTC 2020 - Matej Cepl <[email protected]>
+
+- Don't use %python3_only command, but properly use alternatives.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-proselint.spec ++++++
--- /var/tmp/diff_new_pack.ywkOuM/_old  2020-06-01 23:02:53.894700019 +0200
+++ /var/tmp/diff_new_pack.ywkOuM/_new  2020-06-01 23:02:53.898700031 +0200
@@ -46,6 +46,8 @@
 BuildRequires:  python-mock
 %endif
 # /SECTION
+Requires(post):   update-alternatives
+Requires(postun):  update-alternatives
 %python_subpackages
 
 %description
@@ -67,15 +69,22 @@
 
 %install
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/proselint
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
 %python_exec setup.py test
 
+%post
+%python_install_alternative proselint
+
+%postun
+%python_uninstall_alternative proselint
+
 %files %{python_files}
 %doc CHANGELOG.md README.md
 %license LICENSE.md
-%python3_only %{_bindir}/proselint
+%python_alternative %{_bindir}/proselint
 %{python_sitelib}/proselint/
 %{python_sitelib}/proselint-%{version}-py*.egg-info
 


Reply via email to