From 8e9b0a2a0d21960c17cbbc4879742b0b61bf5636 Mon Sep 17 00:00:00 2001 From: Miro HronĨok Date: Mar 22 2022 17:59:53 +0000 Subject: CI: Move one %files section to test different order --- diff --git a/tests/python-markupsafe.spec b/tests/python-markupsafe.spec index b400214..f6c7310 100644 --- a/tests/python-markupsafe.spec +++ b/tests/python-markupsafe.spec @@ -14,6 +14,7 @@ BuildRequires: pyproject-rpm-macros %description This package installs test- and docs-requirements from files and uses them to run tests and build documentation. +It also has a less common order of the %%files section. %package -n python3-markupsafe @@ -22,6 +23,13 @@ Summary: %{summary} %description -n python3-markupsafe ... + +# In this spec, we put %%files early to test it still works +%files -n python3-markupsafe -f %{pyproject_files} +%license LICENSE.rst +%doc CHANGES.rst README.rst + + %prep %autosetup -n markupsafe-%{version} @@ -52,7 +60,3 @@ sed -Ei 's/sphinx\.git@([0-9a-f]+)/sphinx.git@\1#egg=sphinx/' requirements/docs. %check %pytest - -%files -n python3-markupsafe -f %{pyproject_files} -%license LICENSE.rst -%doc CHANGES.rst README.rst