From a9aa69f46374b195cf3ef73c10448cc0e37a4c4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 22 Mar 2022 17:59:53 +0000 Subject: [PATCH] CI: Move one %files section to test different order Related: rhbz#2060109 --- tests/python-markupsafe.spec | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) 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