Hello community,

here is the log from the commit of package python-titlecase for 
openSUSE:Leap:15.2 checked in at 2020-05-23 16:08:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-titlecase (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.python-titlecase.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-titlecase"

Sat May 23 16:08:22 2020 rev:2 rq:808365 version:0.12.0

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-titlecase/python-titlecase.changes      
2020-02-22 17:51:02.201601004 +0100
+++ 
/work/SRC/openSUSE:Leap:15.2/.python-titlecase.new.2738/python-titlecase.changes
    2020-05-23 16:08:26.853185241 +0200
@@ -1,0 +2,5 @@
+Mon May 18 09:10:30 UTC 2020 - Petr Gajdos <[email protected]>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-titlecase.spec ++++++
--- /var/tmp/diff_new_pack.UXEUhD/_old  2020-05-23 16:08:27.185185953 +0200
+++ /var/tmp/diff_new_pack.UXEUhD/_new  2020-05-23 16:08:27.189185962 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-titlecase
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -23,16 +23,17 @@
 Summary:        Python library to capitalize strings
 License:        MIT
 Group:          Development/Languages/Python
-Url:            https://github.com/ppannuto/python-titlecase
+URL:            https://github.com/ppannuto/python-titlecase
 Source:         
https://files.pythonhosted.org/packages/source/t/titlecase/titlecase-%{version}.tar.gz
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
+BuildArch:      noarch
 # SECTION test requirements
 BuildRequires:  %{python_module nose >= 1.0}
 # /SECTION
-BuildArch:      noarch
-
 %python_subpackages
 
 %description
@@ -50,14 +51,21 @@
 
 %install
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/titlecase
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
 %python_exec setup.py test
 
+%post
+%python_install_alternative titlecase
+
+%postun
+%python_uninstall_alternative titlecase
+
 %files %{python_files}
 %doc README.rst
-%python3_only %{_bindir}/titlecase
+%python_alternative %{_bindir}/titlecase
 %{python_sitelib}/*
 
 %changelog


Reply via email to