Hello community,
here is the log from the commit of package python-proselint for
openSUSE:Factory checked in at 2020-05-07 14:50:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-proselint (Old)
and /work/SRC/openSUSE:Factory/.python-proselint.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-proselint"
Thu May 7 14:50:18 2020 rev:8 rq:800653 version:0.10.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-proselint/python-proselint.changes
2020-04-21 13:09:36.392685350 +0200
+++
/work/SRC/openSUSE:Factory/.python-proselint.new.2738/python-proselint.changes
2020-05-07 14:50:21.173941206 +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.VAuH8Z/_old 2020-05-07 14:50:22.137943140 +0200
+++ /var/tmp/diff_new_pack.VAuH8Z/_new 2020-05-07 14:50:22.141943149 +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