diff --git a/python-tomli.spec b/python-tomli.spec index 1c02aff..bcc2cfc 100644 --- a/python-tomli.spec +++ b/python-tomli.spec @@ -78,7 +78,7 @@ echo '%{python3_sitelib}/%{distinfo}/' >> %{pyproject_files} # assert the properly built package has no runtime requires # if it does, we need to change the bootstrap metadata test -f %{buildroot}%{python3_sitelib}/tomli-%{version}.dist-info/METADATA -! grep '^Requires-Dist:' %{buildroot}%{python3_sitelib}/tomli-%{version}.dist-info/METADATA +grep '^Requires-Dist:' %{buildroot}%{python3_sitelib}/tomli-%{version}.dist-info/METADATA && exit 1 || true %pytest %endif