Do not patch in a test extra downstream

This commit is contained in:
Benjamin A. Beasley
2025-05-06 22:36:42 -04:00
parent 3c4ab4b429
commit 313ce4cad2
2 changed files with 3 additions and 17 deletions
@@ -1,14 +0,0 @@
diff -Naur re-assert-1.1.0.orig/setup.cfg re-assert-1.1.0/setup.cfg
--- re-assert-1.1.0.orig/setup.cfg 2022-10-13 16:11:49.695696821 +0100
+++ re-assert-1.1.0/setup.cfg 2022-10-13 16:13:32.453753495 +0100
@@ -23,6 +23,10 @@
regex
python_requires = >=3.6.1
+[options.extras_require]
+test =
+ pytest >= 3
+
[bdist_wheel]
universal = True
+3 -3
View File
@@ -8,12 +8,12 @@ License: MIT
URL: https://github.com/asottile/re-assert
Source: %{url}/archive/v%{version}/re-assert-%{version}.tar.gz
Patch: 0001_adding_pytest_to_the_testing_dependencies.patch
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: %{py3_dist pytest}
%global common_description %{expand:
%{summary}!}
@@ -31,7 +31,7 @@ Summary: %{summary}
%generate_buildrequires
%pyproject_buildrequires -x test
%pyproject_buildrequires
%build