diff --git a/python-sphinx_rtd_theme.spec b/python-sphinx_rtd_theme.spec index 0f628ea..d3a8aba 100644 --- a/python-sphinx_rtd_theme.spec +++ b/python-sphinx_rtd_theme.spec @@ -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