Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-kiwi-keg for openSUSE:Factory
checked in at 2023-07-10 16:40:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-kiwi-keg (Old)
and /work/SRC/openSUSE:Factory/.python-kiwi-keg.new.23466 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-kiwi-keg"
Mon Jul 10 16:40:29 2023 rev:3 rq:1097930 version:2.1.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-kiwi-keg/python-kiwi-keg.changes
2023-02-09 16:22:43.178562330 +0100
+++
/work/SRC/openSUSE:Factory/.python-kiwi-keg.new.23466/python-kiwi-keg.changes
2023-07-10 16:40:31.698767293 +0200
@@ -1,0 +2,32 @@
+Mon Jul 10 11:22:03 UTC 2023 - [email protected]
+
+- Update to version 2.1.0:
+ * Bump version: 2.0.3 â 2.1.0
+ * Alter unit test for 100% coverage
+ * Fix support for dict-type preferences
+ * Allow preferences to be dict in list command
+ * Allow preferences key to be type dict
+ * Fix new-image-change parameter
+ * Update compose_kiwi_description.service
+ * Remove superfluous comma
+ * Fix namespace names in unit test data
+ * Handle namespaces transparently in schema
+ * Update change log handling
+ * Be more explicit on merge errors
+ * Do not print comments for unnamed namespaces
+ * Packaging related updates
+ * Fix e-mail address in setup.py
+ * Improve list command
+ * Rename variable
+ * Document xmlfiles definition
+ * Add support for generating custom XML files
+ * Minor rewording of mockup image description
+ * Add recommends to spec template
+ * Use python 3.10 instead of 3.8 for unit tests
+ * Update setup.py
+ * Slight reformat of mocked output
+ * Unit tests: use unittest.mock
+ * Add a link to docs, to the readme
+ * Use python 3.10 for publishing
+
+-------------------------------------------------------------------
Old:
----
keg-2.0.3.tar.gz
New:
----
keg-2.1.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-kiwi-keg.spec ++++++
--- /var/tmp/diff_new_pack.SfIw8C/_old 2023-07-10 16:40:32.550772371 +0200
+++ /var/tmp/diff_new_pack.SfIw8C/_new 2023-07-10 16:40:32.558772419 +0200
@@ -17,82 +17,55 @@
#
-%{!?_defaultdocdir: %global _defaultdocdir %{_datadir}/doc}
-%{!?__python3: %global __python3 /usr/bin/python3}
-
-%if %{undefined python3_sitelib}
-%global python3_sitelib %(%{__python3} -c "from distutils.sysconfig import
get_python_lib; print(get_python_lib())")
-%endif
-
-%if 0%{?el7}
-%global python3_pkgversion 36
-%else
-%{!?python3_pkgversion:%global python3_pkgversion 3}
-%endif
-
-%if 0%{?debian} || 0%{?ubuntu}
-%global is_deb 1
-%global pygroup python
-%global sysgroup admin
-%global develsuffix dev
+%if 0%{?suse_version} > 1500
+%bcond_without libalternatives
%else
-%global pygroup Development/Languages/Python
-%global sysgroup System/Management
-%global develsuffix devel
+%bcond_with libalternatives
%endif
+%define skip_python2 1
Name: python-kiwi-keg
-Version: 2.0.3
+Version: 2.1.0
Release: 0
URL: https://github.com/SUSE-Enceladus/keg
Summary: KEG - Image Composition Tool
License: GPL-3.0-or-later
-%if "%{_vendor}" == "debbuild"
-# Needed to set Maintainer in output debs
-%endif
-Group: %{pygroup}
Source: keg-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
+BuildRequires: %{python_module Jinja2}
+BuildRequires: %{python_module Sphinx}
+BuildRequires: %{python_module base >= 3.6}
+BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
-BuildRequires: python%{python3_pkgversion}-%{develsuffix}
-BuildRequires: python%{python3_pkgversion}-Jinja2
-BuildRequires: python%{python3_pkgversion}-Sphinx
-BuildRequires: python%{python3_pkgversion}-setuptools
BuildArch: noarch
-
-%description
-KEG is an image composition tool for KIWI image descriptions
-
-
-# python3-kiwi-keg
-
-%package -n python%{python3_pkgversion}-kiwi-keg
-Summary: KEG - Image Composition Tool
-Group: Development/Languages/Python
-Requires: python%{python3_pkgversion}-Jinja2
-Requires: python%{python3_pkgversion}-docopt
-Requires: python%{python3_pkgversion}-kiwi >= 9.21.21
-Requires: python%{python3_pkgversion}-schema
-Requires: python%{python3_pkgversion}-setuptools
-%if 0%{?ubuntu} || 0%{?debian}
-Requires: python%{python3_pkgversion}-yaml
+Requires: python-Jinja2
+Requires: python-PyYAML
+Requires: python-docopt
+Requires: python-schema
+Requires: python3-kiwi >= 9.21.21
+%if %python_version_nodots < 37
+Requires: python-iso8601
+%endif
+%if %{with libalternatives}
+Requires: alts
+BuildRequires: alts
%else
-Requires: python%{python3_pkgversion}-PyYAML
-%endif
-%if 0%{?suse_version}
-Requires: python%{python3_pkgversion}-Cerberus
-%else
-Requires: python%{python3_pkgversion}-cerberus
+Requires(post): update-alternatives
+Requires(postun):update-alternatives
%endif
+Provides: python3-kiwi-keg = %version
+Obsoletes: python3-kiwi-keg < %version
+
+%python_subpackages
-%description -n python%{python3_pkgversion}-kiwi-keg
+%description
KEG is an image composition tool for KIWI image descriptions
%package -n obs-service-compose_kiwi_description
Summary: An OBS service: generate KIWI description using KEG
Group: Development/Tools/Building
Requires: git
-Requires: python%{python3_pkgversion}-kiwi-keg
+Requires: python3-kiwi-keg = %version
%description -n obs-service-compose_kiwi_description
This is a source service for openSUSE Build Service.
@@ -106,32 +79,37 @@
%build
# Build Python 3 version
-python3 setup.py build
+%python_build
# Build man pages
make -C doc man
%install
-# Install Python 3 version
-python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
%{?is_deb:--install-layout=deb}
-
-# Install man pages
+%python_install
make buildroot=%{buildroot}/ docdir=%{_defaultdocdir}/ install
-# Install LICENSE and README
-make buildroot=%{buildroot}/ docdir=%{_defaultdocdir}/ install_package_docs
-
-%files -n python%{python3_pkgversion}-kiwi-keg
-%dir %{_defaultdocdir}/python-kiwi-keg
-%dir %{_usr}/lib/obs
-%{_bindir}/generate_recipes_changelog
-%{_bindir}/keg
-%{python3_sitelib}/kiwi_keg*
-%{_defaultdocdir}/python-kiwi-keg/LICENSE
-%{_defaultdocdir}/python-kiwi-keg/README
-%doc %{_mandir}/man1/*
+%python_clone -a %{buildroot}%{_bindir}/keg
+%python_clone -a %{buildroot}%{_bindir}/generate_recipes_changelog
+%python_clone -a %{buildroot}%{_mandir}/man1/keg.1
+%python_clone -a %{buildroot}%{_mandir}/man1/generate_recipes_changelog.1
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
+
+%post
+%python_install_alternative keg keg.1 generate_recipes_changelog
+%python_install_alternative generate_recipes_changelog.1
+
+%files %{python_files}
+%python_alternative %{_bindir}/generate_recipes_changelog
+%python_alternative %{_bindir}/keg
+%{python_sitelib}/kiwi_keg
+%{python_sitelib}/kiwi_keg-*
+%license LICENSE
+%doc README.rst
+%python_alternative %{_mandir}/man1/keg.1%{?ext_man}
+%python_alternative %{_mandir}/man1/generate_recipes_changelog.1%{?ext_man}
%files -n obs-service-compose_kiwi_description
+%dir %{_usr}/lib/obs
%{_usr}/lib/obs/service
%changelog
++++++ _service ++++++
--- /var/tmp/diff_new_pack.SfIw8C/_old 2023-07-10 16:40:32.590772609 +0200
+++ /var/tmp/diff_new_pack.SfIw8C/_new 2023-07-10 16:40:32.594772633 +0200
@@ -2,8 +2,8 @@
<service name="obs_scm" mode="manual">
<param name="url">[email protected]:SUSE-Enceladus/keg.git</param>
<param name="scm">git</param>
- <param name="version">2.0.3</param>
- <param name="revision">v2.0.3</param>
+ <param name="version">2.1.0</param>
+ <param name="revision">v2.1.0</param>
<param name="filename">keg</param>
<param name="changesgenerate">enable</param>
<param name="extract">package/python-kiwi-keg.spec</param>
++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.SfIw8C/_old 2023-07-10 16:40:32.614772753 +0200
+++ /var/tmp/diff_new_pack.SfIw8C/_new 2023-07-10 16:40:32.622772800 +0200
@@ -1,6 +1,6 @@
<servicedata>
<service name="tar_scm">
<param
name="url">[email protected]:SUSE-Enceladus/keg.git</param>
- <param
name="changesrevision">fac51c4e2d3611b940dcdec995a0192d9c86b348</param></service></servicedata>
+ <param
name="changesrevision">5a9d033faca2096df2e5216b3ef6f3f84e2fc3df</param></service></servicedata>
(No newline at EOF)
++++++ keg-2.0.3.tar.gz -> keg-2.1.0.tar.gz ++++++
++++ 3879 lines of diff (skipped)
++++++ keg.obsinfo ++++++
--- /var/tmp/diff_new_pack.SfIw8C/_old 2023-07-10 16:40:32.730773444 +0200
+++ /var/tmp/diff_new_pack.SfIw8C/_new 2023-07-10 16:40:32.730773444 +0200
@@ -1,5 +1,5 @@
name: keg
-version: 2.0.3
-mtime: 1675876529
-commit: fac51c4e2d3611b940dcdec995a0192d9c86b348
+version: 2.1.0
+mtime: 1688987795
+commit: 5a9d033faca2096df2e5216b3ef6f3f84e2fc3df