Miro Hrončok 2022-04-13 12:32:08 +02:00
parent b6a6bd488b
commit 46d3e710b3
1 changed files with 3 additions and 2 deletions

View File

@ -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