Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-j2gen for openSUSE:Factory checked in at 2025-05-30 14:39:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-j2gen (Old) and /work/SRC/openSUSE:Factory/.python-j2gen.new.25440 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-j2gen" Fri May 30 14:39:41 2025 rev:5 rq:1281308 version:0.1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-j2gen/python-j2gen.changes 2021-11-08 17:25:00.972726088 +0100 +++ /work/SRC/openSUSE:Factory/.python-j2gen.new.25440/python-j2gen.changes 2025-05-30 17:26:06.997216017 +0200 @@ -1,0 +2,5 @@ +Fri May 30 08:35:58 UTC 2025 - Markéta Machová <mmach...@suse.com> + +- Convert to pip-based build + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-j2gen.spec ++++++ --- /var/tmp/diff_new_pack.fuWgh7/_old 2025-05-30 17:26:07.557239063 +0200 +++ /var/tmp/diff_new_pack.fuWgh7/_new 2025-05-30 17:26:07.557239063 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-j2gen # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,8 +16,6 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define skip_python2 1 Name: python-j2gen Version: 0.1.0 Release: 0 @@ -27,13 +25,15 @@ URL: https://github.com/toabctl/j2gen Source: https://files.pythonhosted.org/packages/source/j/j2gen/j2gen-%{version}.tar.gz BuildRequires: %{python_module pbr} +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-Jinja2 Requires: python-PyYAML -Requires(post): update-alternatives -Requires(postun):update-alternatives +Requires(post): alts +Requires(postun): alts BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module Jinja2} @@ -51,10 +51,10 @@ %setup -q -n j2gen-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_clone -a %{buildroot}%{_bindir}/j2gen %python_expand %fdupes %{buildroot}%{$python_sitelib} @@ -71,5 +71,6 @@ %doc AUTHORS ChangeLog README.rst %license LICENSE %python_alternative %{_bindir}/j2gen -%{python_sitelib}/* +%{python_sitelib}/j2gen +%{python_sitelib}/j2gen-%{version}*-info