Drop some unnecessary testing BuildRequires

This commit is contained in:
Benjamin A. Beasley
2024-08-20 09:00:24 -04:00
parent cceba8859f
commit c0d472b7d4
+7 -3
View File
@@ -11,6 +11,12 @@ BuildArch: noarch
BuildRequires: python3-devel
# See requirements.test.txt. We list test dependencies manually since we do not
# want pytest-cov
# (https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_linters)
# and the other pytest plugins are spurious
# (https://github.com/hgrecco/flexparser/pull/10).
%global common_description %{expand:
The idea is quite simple. You write a class for every type of content (called
here ParsedStatement) you need to parse. Each class should have a from_string
@@ -28,12 +34,10 @@ Summary: %{summary}
%prep
%autosetup -n flexparser-%{version}
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_linters
sed -r -i 's/^([[:blank:]]*)\b(pytest-cov)\b/\1# \2/' requirements.test.txt
%generate_buildrequires
%pyproject_buildrequires -x test
%pyproject_buildrequires
%build