forked from pool/python-pytest-vcr
- Switch to pyproject macros.
- No more greedy globs in %files. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-vcr?expand=0&rev=6
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 7 07:00:50 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Switch to pyproject macros.
|
||||||
|
- No more greedy globs in %files.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jun 13 11:33:14 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
Tue Jun 13 11:33:14 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pytest-vcr
|
# spec file for package python-pytest-vcr
|
||||||
#
|
#
|
||||||
# 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
|
||||||
@@ -22,10 +22,11 @@ Version: 1.0.2
|
|||||||
Release: 0
|
Release: 0
|
||||||
Summary: Plugin for managing VCR.py cassettes
|
Summary: Plugin for managing VCR.py cassettes
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
|
||||||
URL: https://github.com/ktosiek/pytest-vcr
|
URL: https://github.com/ktosiek/pytest-vcr
|
||||||
Source: https://github.com/ktosiek/pytest-vcr/archive/%{version}.tar.gz#/pytest-vcr-%{version}.tar.gz
|
Source: https://github.com/ktosiek/pytest-vcr/archive/%{version}.tar.gz#/pytest-vcr-%{version}.tar.gz
|
||||||
|
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 >= 3.6.0
|
Requires: python-pytest >= 3.6.0
|
||||||
@@ -46,10 +47,10 @@ Plugin for managing VCR.py cassettes.
|
|||||||
sed -i '/pytest.config/d' tests/test_vcr.py
|
sed -i '/pytest.config/d' tests/test_vcr.py
|
||||||
|
|
||||||
%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
|
||||||
@@ -58,6 +59,8 @@ sed -i '/pytest.config/d' tests/test_vcr.py
|
|||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/pytest_vcr.py
|
||||||
|
%pycache_only %{python_sitelib}/__pycache__/pytest_vcr*.pyc
|
||||||
|
%{python_sitelib}/pytest_vcr-%{version}.dist-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user