Hello community,
here is the log from the commit of package python-urlextract for
openSUSE:Factory checked in at 2020-05-19 14:48:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-urlextract (Old)
and /work/SRC/openSUSE:Factory/.python-urlextract.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-urlextract"
Tue May 19 14:48:20 2020 rev:2 rq:806960 version:0.14.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-urlextract/python-urlextract.changes
2020-01-02 14:43:28.936962557 +0100
+++
/work/SRC/openSUSE:Factory/.python-urlextract.new.2738/python-urlextract.changes
2020-05-19 14:48:24.300060167 +0200
@@ -1,0 +2,5 @@
+Mon May 18 09:10:43 UTC 2020 - Petr Gajdos <[email protected]>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-urlextract.spec ++++++
--- /var/tmp/diff_new_pack.jIVuXT/_old 2020-05-19 14:48:25.244062184 +0200
+++ /var/tmp/diff_new_pack.jIVuXT/_new 2020-05-19 14:48:25.248062193 +0200
@@ -31,6 +31,8 @@
Requires: python-appdirs
Requires: python-idna
Requires: python-uritools
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module appdirs}
@@ -52,15 +54,22 @@
%install
%python_install
+%python_clone -a %{buildroot}%{_bindir}/urlextract
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
+%post
+%python_install_alternative urlextract
+
+%postun
+%python_uninstall_alternative urlextract
+
%files %{python_files}
%doc CHANGELOG.rst README.rst
%license LICENSE
-%python3_only %{_bindir}/urlextract
+%python_alternative %{_bindir}/urlextract
%{python_sitelib}/*
%changelog