Move the %check section above %files

This commit is contained in:
Petr Viktorin 2020-09-10 12:50:09 +02:00
commit f5c26e11a6

View file

@ -100,13 +100,6 @@ find . -name '*.py' | xargs sed --in-place -e's|#!/usr/bin/\(env \)\?python||;s/
%pyproject_save_files pyglet
%files -n python3-%{srcname} -f %{pyproject_files}
%license LICENSE
%doc README.md
%doc RELEASE_NOTES
%doc NOTICE
%if %{with tests}
%check
# Skip flaky tests
@ -128,6 +121,13 @@ export CI=on
%endif
%files -n python3-%{srcname} -f %%{pyproject_files}
%license LICENSE
%doc README.md
%doc RELEASE_NOTES
%doc NOTICE
%changelog
* Wed Sep 09 2020 Petr Viktorin <pviktori@redhat.com> - 1.5.7-1
- Update to 1.5.7