1
0

Compare commits

2 Commits

2 changed files with 11 additions and 5 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed May 7 06:58:56 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Apr 21 20:43:51 UTC 2022 - Ben Greiner <code@bnavigator.de> Thu Apr 21 20:43:51 UTC 2022 - Ben Greiner <code@bnavigator.de>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-pytest-responsemock # spec file for package python-pytest-responsemock
# #
# Copyright (c) 2022 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
@@ -16,7 +16,6 @@
# #
%{?!python_module:%define python_module() python3-%{**}}
Name: python-pytest-responsemock Name: python-pytest-responsemock
Version: 1.1.1 Version: 1.1.1
Release: 0 Release: 0
@@ -25,7 +24,9 @@ License: BSD-3-Clause
URL: https://github.com/idlesign/pytest-responsemock URL: https://github.com/idlesign/pytest-responsemock
Source: https://files.pythonhosted.org/packages/source/p/pytest-responsemock/pytest-responsemock-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/p/pytest-responsemock/pytest-responsemock-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.7} BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-pytest Requires: python-pytest
@@ -45,10 +46,10 @@ Simplified requests calls mocking for pytest.
%setup -q -n pytest-responsemock-%{version} %setup -q -n pytest-responsemock-%{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
@@ -59,6 +60,6 @@ Simplified requests calls mocking for pytest.
%doc AUTHORS CHANGELOG README.rst %doc AUTHORS CHANGELOG README.rst
%license LICENSE %license LICENSE
%{python_sitelib}/responsemock %{python_sitelib}/responsemock
%{python_sitelib}/pytest_responsemock-%{version}*-info %{python_sitelib}/pytest_responsemock-%{version}.dist-info
%changelog %changelog