From 41d3bf214726a623d2b7e099112ec332a37aef4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Thu, 7 May 2026 11:41:34 +0200 Subject: [PATCH] Begone, source enumeration! (cherry picked from Fedora commit 3ed9e9406d9bcc983e49797617c71033262f2419) --- pyproject-rpm-macros.spec | 51 +++++++++++++++++++-------------------- 1 file changed, 25 insertions(+), 26 deletions(-) diff --git a/pyproject-rpm-macros.spec b/pyproject-rpm-macros.spec index a21bef3..ecb309e 100644 --- a/pyproject-rpm-macros.spec +++ b/pyproject-rpm-macros.spec @@ -18,38 +18,38 @@ Version: 1.22.0 Release: 1%{?dist} # Macro files -Source001: macros.pyproject -Source002: macros.aaa-pyproject-srpm +Source: macros.pyproject +Source: macros.aaa-pyproject-srpm # Implementation files -Source101: pyproject_buildrequires.py -Source102: pyproject_save_files.py -Source103: pyproject_convert.py -Source104: pyproject_preprocess_record.py -Source106: pyproject_requirements_txt.py -Source107: pyproject_wheel.py -Source108: pyproject_patch_metadata.py -Source109: pyproject_dependency_overrides.py -Source110: pyproject_getopt.lua +Source: pyproject_buildrequires.py +Source: pyproject_save_files.py +Source: pyproject_convert.py +Source: pyproject_preprocess_record.py +Source: pyproject_requirements_txt.py +Source: pyproject_wheel.py +Source: pyproject_patch_metadata.py +Source: pyproject_dependency_overrides.py +Source: pyproject_getopt.lua # Tests -Source201: test_pyproject_buildrequires.py -Source202: test_pyproject_save_files.py -Source203: test_pyproject_requirements_txt.py -Source204: test_dependency_overrides.py -Source205: test_pyproject_getopt_consistency.py -Source206: test_pyproject_getopt_parser.py -Source207: test_pyproject_getopt.lua -Source208: compare_mandata.py +Source: test_pyproject_buildrequires.py +Source: test_pyproject_save_files.py +Source: test_pyproject_requirements_txt.py +Source: test_dependency_overrides.py +Source: test_pyproject_getopt_consistency.py +Source: test_pyproject_getopt_parser.py +Source: test_pyproject_getopt.lua +Source: compare_mandata.py # Test data -Source301: pyproject_buildrequires_testcases.yaml -Source302: pyproject_save_files_test_data.yaml -Source303: test_RECORD +Source: pyproject_buildrequires_testcases.yaml +Source: pyproject_save_files_test_data.yaml +Source: test_RECORD # Metadata -Source901: README.md -Source902: LICENSE +Source: README.md +Source: LICENSE URL: https://src.fedoraproject.org/rpms/pyproject-rpm-macros @@ -135,8 +135,7 @@ takes precedence. %prep -# Not strictly necessary but allows working on file names instead -# of source numbers in install section +# Allows working on file names, as sources have no meaningful numbers %setup -c -T cp -p %{sources} .