Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-reno for openSUSE:Factory checked in at 2025-06-11 16:28:03 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-reno (Old) and /work/SRC/openSUSE:Factory/.python-reno.new.19631 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-reno" Wed Jun 11 16:28:03 2025 rev:14 rq:1284811 version:4.1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-reno/python-reno.changes 2024-03-17 22:16:25.845327135 +0100 +++ /work/SRC/openSUSE:Factory/.python-reno.new.19631/python-reno.changes 2025-06-11 16:29:44.812534944 +0200 @@ -1,0 +2,5 @@ +Wed Jun 11 11:44:58 UTC 2025 - Markéta Machová <mmach...@suse.com> + +- Convert to pip-based build and libalternatives + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-reno.spec ++++++ --- /var/tmp/diff_new_pack.B7RKIP/_old 2025-06-11 16:29:45.584567149 +0200 +++ /var/tmp/diff_new_pack.B7RKIP/_new 2025-06-11 16:29:45.588567316 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-reno # -# Copyright (c) 2024 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,9 +16,9 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} # uses openstack packages: build and depend on default python3 provider only %define pythons python3 +%bcond_without libalternatives Name: python-reno Version: 4.1.0 Release: 0 @@ -34,22 +34,24 @@ BuildRequires: %{python_module openstackdocstheme >= 2.2.1} BuildRequires: %{python_module oslotest} BuildRequires: %{python_module pbr} +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module stestr} BuildRequires: %{python_module testscenarios} BuildRequires: %{python_module testtools} +BuildRequires: %{python_module wheel} +BuildRequires: alts BuildRequires: fdupes BuildRequires: git-core BuildRequires: gpg2 BuildRequires: python-rpm-macros +Requires: alts Requires: python-PyYAML >= 3.10 Requires: python-Sphinx Requires: python-docutils Requires: python-dulwich >= 0.15.0 Requires: python-pbr Requires: python-six -Requires(post): update-alternatives -Requires(postun): update-alternatives BuildArch: noarch %python_subpackages @@ -61,19 +63,16 @@ %autosetup -n reno-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand rm -r %{buildroot}%{$python_sitelib}/reno/tests %python_expand %fdupes %{buildroot}%{$python_sitelib} %python_clone -a %{buildroot}%{_bindir}/reno -%post -%python_install_alternative reno - -%postun -%python_uninstall_alternative reno +%pre +%python_libalternatives_reset_alternative reno %check rm -rf .git @@ -84,5 +83,5 @@ %license LICENSE %python_alternative %{_bindir}/reno %{python_sitelib}/reno -%{python_sitelib}/*.egg-info +%{python_sitelib}/reno-%{version}*-info