From f3215b5f0bef892fc0dc2f059aa6f941ebbbc37e Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Fri, 5 Jan 2024 09:49:53 -0500 Subject: [PATCH] Fix sed-patch to remove BuildRequires on python3-pytest-cov [skip changelog] --- python-flexcache.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-flexcache.spec b/python-flexcache.spec index 4fd7fc5..8d9793c 100644 --- a/python-flexcache.spec +++ b/python-flexcache.spec @@ -27,7 +27,7 @@ Summary: %{summary} %prep %autosetup -n flexcache-%{version} # https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_linters -sed -r -i 's/^([[:blank:]]*)("pytest-cov")/\1# \2/' pyproject.toml +sed -r -i 's/^([[:blank:]]*)\b(pytest-cov)\b/\1# \2/' setup.cfg %generate_buildrequires