Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-pytest-error-for-skips for
openSUSE:Factory checked in at 2025-05-07 19:19:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pytest-error-for-skips (Old)
and /work/SRC/openSUSE:Factory/.python-pytest-error-for-skips.new.30101
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pytest-error-for-skips"
Wed May 7 19:19:19 2025 rev:4 rq:1275095 version:2.0.2
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-pytest-error-for-skips/python-pytest-error-for-skips.changes
2019-12-23 22:46:32.354047602 +0100
+++
/work/SRC/openSUSE:Factory/.python-pytest-error-for-skips.new.30101/python-pytest-error-for-skips.changes
2025-05-07 19:19:23.290464748 +0200
@@ -1,0 +2,6 @@
+Wed May 7 06:48:58 UTC 2025 - Steve Kowalik <[email protected]>
+
+- Switch to pyproject macros.
+- No more greedy globs in %files.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pytest-error-for-skips.spec ++++++
--- /var/tmp/diff_new_pack.4ibTMp/_old 2025-05-07 19:19:23.950492267 +0200
+++ /var/tmp/diff_new_pack.4ibTMp/_new 2025-05-07 19:19:23.950492267 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-pytest-error-for-skips
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# 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,16 +16,16 @@
#
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pytest-error-for-skips
Version: 2.0.2
Release: 0
Summary: Pytest plugin to treat skipped tests a test failure
License: MIT
-Group: Development/Languages/Python
URL: https://github.com/jankatins/pytest-error-for-skips
Source:
https://github.com/jankatins/pytest-error-for-skips/archive/%{version}.tar.gz#/pytest-error-for-skips-%{version}.tar.gz
+BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-pytest >= 4.6
@@ -46,10 +46,10 @@
%setup -q -n pytest-error-for-skips-%{version}
%build
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -58,5 +58,7 @@
%files %{python_files}
%doc README.md
%license LICENSE
-%{python_sitelib}/*
+%{python_sitelib}/pytest_error_for_skips.py
+%pycache_only %{python_sitelib}/__pycache__/pytest_error_for_skips*.pyc
+%{python_sitelib}/pytest_error_for_skips-%{version}.dist-info