Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-pytest-testconfig for
openSUSE:Factory checked in at 2025-05-07 19:19:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pytest-testconfig (Old)
and /work/SRC/openSUSE:Factory/.python-pytest-testconfig.new.30101 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pytest-testconfig"
Wed May 7 19:19:34 2025 rev:5 rq:1275113 version:0.2.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-pytest-testconfig/python-pytest-testconfig.changes
2020-01-13 22:22:52.810555961 +0100
+++
/work/SRC/openSUSE:Factory/.python-pytest-testconfig.new.30101/python-pytest-testconfig.changes
2025-05-07 19:19:41.807236780 +0200
@@ -1,0 +2,6 @@
+Wed May 7 06:59:21 UTC 2025 - Steve Kowalik <[email protected]>
+
+- Switch to pyproject macros.
+- No more greedy globs in %files.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pytest-testconfig.spec ++++++
--- /var/tmp/diff_new_pack.l0Zq95/_old 2025-05-07 19:19:42.227254293 +0200
+++ /var/tmp/diff_new_pack.l0Zq95/_new 2025-05-07 19:19:42.227254293 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-pytest-testconfig
#
-# 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,7 +16,6 @@
#
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pytest-testconfig
Version: 0.2.0
Release: 0
@@ -25,8 +24,10 @@
URL: https://github.com/wojole/pytest-testconfig
Source:
https://github.com/wojole/pytest-testconfig/archive/v%{version}.tar.gz
BuildRequires: %{python_module PyYAML}
+BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest >= 3.5}
BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-pytest >= 3.5
@@ -42,10 +43,10 @@
%setup -q -n pytest-testconfig-%{version}
%build
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -53,5 +54,7 @@
%files %{python_files}
%license LICENSE
-%{python_sitelib}/*
+%{python_sitelib}/pytest_testconfig.py
+%pycache_only %{python_sitelib}/__pycache__/pytest_testconfig*.pyc
+%{python_sitelib}/pytest_testconfig-%{version}.dist-info