Get rid of the %(echo | tr) call now when the macro has been enhanced

epel9
Miro Hrončok 4 years ago
parent 4d952df4b6
commit c85e6a14e8

@ -49,7 +49,7 @@ Summary: %{summary}
%description -n python%{python3_pkgversion}-hypothesis %{_description}
%global extras cli ghostwriter pytz dateutil lark numpy pandas pytest redis zoneinfo django
%global extras cli,ghostwriter,pytz,dateutil,lark,numpy,pandas,pytest,redis,zoneinfo,django
# extras with missing deps:
# codemods: libcst
# dpcontracts: dpcontracts
@ -63,8 +63,7 @@ sed -i -e '/sphinx.ext.intersphinx/d' docs/conf.py
%generate_buildrequires
# RFE to avoid the tr: https://bugzilla.redhat.com/show_bug.cgi?id=1936486
%pyproject_buildrequires %{?with_tests:-x %(echo %{extras} | tr ' ' ',')}
%pyproject_buildrequires %{?with_tests:-x %{extras}}
%build

Loading…
Cancel
Save