Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-pytest-percent for openSUSE:Factory checked in at 2025-05-07 19:19:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pytest-percent (Old) and /work/SRC/openSUSE:Factory/.python-pytest-percent.new.30101 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pytest-percent" Wed May 7 19:19:28 2025 rev:2 rq:1275108 version:0.1.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pytest-percent/python-pytest-percent.changes 2020-08-17 12:08:26.822796804 +0200 +++ /work/SRC/openSUSE:Factory/.python-pytest-percent.new.30101/python-pytest-percent.changes 2025-05-07 19:19:36.911032640 +0200 @@ -1,0 +2,6 @@ +Wed May 7 06:57:53 UTC 2025 - Steve Kowalik <steven.kowa...@suse.com> + +- Switch to pyproject macros. +- No more greedy globs in %files. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pytest-percent.spec ++++++ --- /var/tmp/diff_new_pack.9s5JbS/_old 2025-05-07 19:19:38.687106690 +0200 +++ /var/tmp/diff_new_pack.9s5JbS/_new 2025-05-07 19:19:38.695107024 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-pytest-percent # -# Copyright (c) 2020 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,17 +16,17 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pytest-percent Version: 0.1.2 Release: 0 Summary: Pytest plugin to exit successfully when a required percent of tests pass License: MIT -Group: Development/Languages/Python URL: https://github.com/dillonm197/pytest.percent Source: https://files.pythonhosted.org/packages/source/p/pytest-percent/pytest-percent-%{version}.tar.gz Source1: https://raw.githubusercontent.com/dillonm197/pytest.percent/master/tests/test_percent.py +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-pytest >= 5.2.0 @@ -45,10 +45,10 @@ printf "[pytest]\naddopts = --required-percent=80" > pytest.ini %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -57,5 +57,7 @@ %files %{python_files} %doc README.md %license LICENSE -%{python_sitelib}/* +%{python_sitelib}/pytest_percent.py +%pycache_only %{python_sitelib}/__pycache__/pytest_percent*.pyc +%{python_sitelib}/pytest_percent-%{version}.dist-info