Hello community,

here is the log from the commit of package python-python-slugify for 
openSUSE:Factory checked in at 2020-05-26 17:18:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-python-slugify (Old)
 and      /work/SRC/openSUSE:Factory/.python-python-slugify.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-python-slugify"

Tue May 26 17:18:00 2020 rev:8 rq:807670 version:4.0.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-python-slugify/python-python-slugify.changes  
    2020-03-21 00:03:00.169152011 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-python-slugify.new.2738/python-python-slugify.changes
    2020-05-26 17:18:36.723883444 +0200
@@ -1,0 +2,5 @@
+Wed May 20 07:26:54 UTC 2020 - Petr Gajdos <[email protected]>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-python-slugify.spec ++++++
--- /var/tmp/diff_new_pack.rGvGKC/_old  2020-05-26 17:18:37.711885569 +0200
+++ /var/tmp/diff_new_pack.rGvGKC/_new  2020-05-26 17:18:37.715885577 +0200
@@ -31,6 +31,8 @@
 BuildRequires:  python-rpm-macros
 Requires:       python-setuptools
 Requires:       python-text-unidecode >= 1.3
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 Suggests:       python-Unidecode >= 1.1.1
 Conflicts:      python-awesome-slugify
 BuildArch:      noarch
@@ -48,15 +50,22 @@
 
 %install
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/slugify
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
 %python_exec ./test.py
 
+%post
+%python_install_alternative slugify
+
+%postun
+%python_uninstall_alternative slugify
+
 %files %{python_files}
 %doc CHANGELOG.md README.md
 %license LICENSE
-%python3_only %{_bindir}/slugify
+%python_alternative %{_bindir}/slugify
 %{python_sitelib}/python_slugify-%{version}-py*.egg-info
 %{python_sitelib}/slugify/
 


Reply via email to