Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-requre for openSUSE:Factory checked in at 2023-07-18 21:55:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-requre (Old) and /work/SRC/openSUSE:Factory/.python-requre.new.3193 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-requre" Tue Jul 18 21:55:14 2023 rev:3 rq:1099033 version:0.8.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-requre/python-requre.changes 2022-06-20 15:39:04.871017942 +0200 +++ /work/SRC/openSUSE:Factory/.python-requre.new.3193/python-requre.changes 2023-07-18 21:55:29.742752994 +0200 @@ -1,0 +2,8 @@ +Mon Jul 17 07:00:01 UTC 2023 - Steve Kowalik <steven.kowa...@suse.com> + +- Remove BuildRequires on setuptools_scm_git_archive. +- Switch to pyproject macros. +- Add missing Requires on update-alternatives. +- Stop using greedy globs in %files. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-requre.spec ++++++ --- /var/tmp/diff_new_pack.vBRgBz/_old 2023-07-18 21:55:30.262755900 +0200 +++ /var/tmp/diff_new_pack.vBRgBz/_new 2023-07-18 21:55:30.266755923 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-requre # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 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-requre Version: 0.8.2 Release: 0 @@ -25,9 +23,10 @@ License: MIT URL: https://github.com/packit-service/requre Source: https://files.pythonhosted.org/packages/source/r/requre/requre-%{version}.tar.gz -BuildRequires: %{python_module setuptools_scm_git_archive} +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-GitPython @@ -35,6 +34,8 @@ Requires: python-click Requires: python-requests Suggests: python-pytest +Requires(post): update-alternatives +Requires(postun):update-alternatives BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module PyYAML} @@ -60,10 +61,10 @@ rm tests/test_E2E_ogr.py %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_clone -a %{buildroot}%{_bindir}/requre-patch %python_expand %fdupes %{buildroot}%{$python_sitelib} @@ -85,6 +86,7 @@ %doc README.md %license LICENSE %python_alternative %{_bindir}/requre-patch -%{python_sitelib}/* +%{python_sitelib}/requre +%{python_sitelib}/requre-%{version}.dist-info %changelog