Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-Kajiki for openSUSE:Factory 
checked in at 2021-09-02 23:20:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-Kajiki (Old)
 and      /work/SRC/openSUSE:Factory/.python-Kajiki.new.1899 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-Kajiki"

Thu Sep  2 23:20:20 2021 rev:13 rq:915772 version:0.8.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-Kajiki/python-Kajiki.changes      
2020-08-17 14:40:30.842585589 +0200
+++ /work/SRC/openSUSE:Factory/.python-Kajiki.new.1899/python-Kajiki.changes    
2021-09-02 23:20:40.168580012 +0200
@@ -1,0 +2,10 @@
+Tue Aug 31 12:19:49 UTC 2021 - John Paul Adrian Glaubitz 
<adrian.glaub...@suse.com>
+
+- Update to 0.8.3
+  * Fixed compatibility for Python 3.10
+  * Switched the test runner to pytest
+  * Added the ``kajiki`` command line interface
+  * Documentation typo corrections
+- Enable alternatives mechanism for /usr/bin/kajiki
+
+-------------------------------------------------------------------

Old:
----
  Kajiki-0.8.2.tar.gz

New:
----
  kajiki-0.8.3.tar.gz

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

Other differences:
------------------
++++++ python-Kajiki.spec ++++++
--- /var/tmp/diff_new_pack.uewEzZ/_old  2021-09-02 23:20:40.896580920 +0200
+++ /var/tmp/diff_new_pack.uewEzZ/_new  2021-09-02 23:20:40.900580924 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-Kajiki
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,19 +18,21 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-Kajiki
-Version:        0.8.2
+Version:        0.8.3
 Release:        0
 Summary:        Compiler for Genshi syntax outputting Python bytecode
 License:        MIT
 Group:          Development/Languages/Python
 URL:            https://github.com/nandoflorestan/kajiki
-Source:         
https://files.pythonhosted.org/packages/source/K/Kajiki/Kajiki-%{version}.tar.gz
+Source:         
https://files.pythonhosted.org/packages/source/k/kajiki/kajiki-%{version}.tar.gz
 BuildRequires:  %{python_module Babel}
 BuildRequires:  %{python_module nine}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+Requires(post): update-alternatives
+Requires(postun):update-alternatives
 Requires:       python-nine
 BuildArch:      noarch
 %python_subpackages
@@ -42,7 +44,7 @@
 other textual content for output generation on the web.)
 
 %prep
-%setup -q -n Kajiki-%{version}
+%setup -q -n kajiki-%{version}
 sed -i 's/from nose import SkipTest/from unittest import SkipTest/' 
kajiki/tests/test_xml.py
 
 %build
@@ -50,13 +52,21 @@
 
 %install
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/kajiki
 %python_expand rm -r %{buildroot}%{$python_sitelib}/kajiki/tests
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
+%post
+%python_install_alternative kajiki
+
+%postun
+%python_uninstall_alternative kajiki
+
 %check
 %pytest
 
 %files %{python_files}
+%python_alternative %{_bindir}/kajiki
 %license LICENSE.rst
 %doc README.rst
 %{python_sitelib}/*

Reply via email to