Hello community,

here is the log from the commit of package python-Mako for openSUSE:Factory 
checked in at 2020-06-05 19:58:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-Mako (Old)
 and      /work/SRC/openSUSE:Factory/.python-Mako.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-Mako"

Fri Jun  5 19:58:35 2020 rev:39 rq:808682 version:1.1.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-Mako/python-Mako.changes  2020-03-05 
23:16:41.589123312 +0100
+++ /work/SRC/openSUSE:Factory/.python-Mako.new.3606/python-Mako.changes        
2020-06-05 19:58:37.079607406 +0200
@@ -1,0 +2,5 @@
+Mon May 25 06:50:43 UTC 2020 - Petr Gajdos <[email protected]>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-Mako.spec ++++++
--- /var/tmp/diff_new_pack.HPeH5z/_old  2020-06-05 19:58:37.747609717 +0200
+++ /var/tmp/diff_new_pack.HPeH5z/_new  2020-06-05 19:58:37.751609731 +0200
@@ -24,7 +24,7 @@
 Summary:        A Python templating language
 License:        MIT
 Group:          Development/Languages/Python
-URL:            http://www.makotemplates.org/
+URL:            https://www.makotemplates.org/
 Source:         
https://files.pythonhosted.org/packages/source/M/Mako/Mako-%{version}.tar.gz
 BuildRequires:  %{python_module MarkupSafe >= 0.9.2}
 BuildRequires:  %{python_module mock}
@@ -35,6 +35,8 @@
 BuildRequires:  python-rpm-macros
 Requires:       python-MarkupSafe >= 0.9.2
 Requires:       python-setuptools
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 BuildArch:      noarch
 %if 0%{?suse_version} >= 1000 || 0%{?fedora_version} >= 24
 Recommends:     python-Beaker >= 1.1
@@ -66,16 +68,23 @@
 
 %install
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/mako-render
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
 %pytest
 
+%post
+%python_install_alternative mako-render
+
+%postun
+%python_uninstall_alternative mako-render
+
 %files %{python_files}
 %license LICENSE
 %doc CHANGES README.rst
 %doc examples
-%python3_only %{_bindir}/mako-render
+%python_alternative %{_bindir}/mako-render
 %{python_sitelib}/mako/
 %{python_sitelib}/Mako-%{version}-py*.egg-info
 


Reply via email to