Don't use `! ...` as a check
See https://lists.fedoraproject.org/archives/list/packaging@lists.fedoraproject.org/thread/TFQGD7CSTD5WVKVT3WDIGF5D6DID5NK6/
This commit is contained in:
parent
b6a6bd488b
commit
46d3e710b3
|
@ -140,9 +140,10 @@ rm docs/build/html/.buildinfo
|
|||
%endif
|
||||
|
||||
# Test that the forbidden fonts were successfully removed from the css files
|
||||
! grep 'format("woff2\?")' \
|
||||
grep 'format("woff2\?")' \
|
||||
%{buildroot}%{python3_sitelib}/%{srcname}/static/css/badge_only.css \
|
||||
%{buildroot}%{python3_sitelib}/%{srcname}/static/css/theme.css
|
||||
%{buildroot}%{python3_sitelib}/%{srcname}/static/css/theme.css \
|
||||
&& exit 1 || true
|
||||
|
||||
%files -n python%{python3_pkgversion}-%{srcname}
|
||||
%doc README.html
|
||||
|
|
Loading…
Reference in New Issue