11
0

2 Commits

2 changed files with 13 additions and 4 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed May 7 06:58:19 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
- Be more explicit about directories in %files.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Sep 7 09:51:38 UTC 2023 - Dirk Müller <dmueller@suse.com> Thu Sep 7 09:51:38 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-pytest-regressions # spec file for package python-pytest-regressions
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2025 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -25,8 +25,10 @@ Summary: Python fixtures to write regression tests
URL: https://github.com/ESSS/pytest-regressions URL: https://github.com/ESSS/pytest-regressions
Group: Development/Languages/Python Group: Development/Languages/Python
Source: https://files.pythonhosted.org/packages/source/p/pytest-regressions/pytest-regressions-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/p/pytest-regressions/pytest-regressions-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
# SECTION test requirements # SECTION test requirements
BuildRequires: %{python_module pytest >= 6.2.0} BuildRequires: %{python_module pytest >= 6.2.0}
@@ -58,10 +60,10 @@ Python fixtures to write regression tests.
%autosetup -p1 -n pytest-regressions-%{version} %autosetup -p1 -n pytest-regressions-%{version}
%build %build
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check %check
@@ -79,6 +81,7 @@ donttest+=" or test_different_data_types"
%files %{python_files} %files %{python_files}
%doc CHANGELOG.rst README.rst %doc CHANGELOG.rst README.rst
%license LICENSE %license LICENSE
%{python_sitelib}/pytest_regressions* %{python_sitelib}/pytest_regressions
%{python_sitelib}/pytest_regressions-%{version}.dist-info
%changelog %changelog