pyproject-rpm-macros/tests
Patrik Kopkan 2800b49530 Add %pyproject_save_files macro
This macro save generates file section to %pyproject_files. It should
simplify %files section and allow to build by some automatic machinery

Supposed use case in Fedora:
    %install
    %pyproject_install
    %pyproject_save_files requests _requests

    %files -n python3-requests -f %{pyproject_files}
    %doc README.rst
    %license LICENSE

Automatic build of arbitrary packages (e.g. in Copr):
    %install
    %pyproject_install
    %pyproject_save_files * +bindir // save all modules with executables

    %files -n python3-requests -f %{pyproject_files}

Co-Authored-By: Miro Hrončok <miro@hroncok.cz>
2020-04-15 16:45:10 +02:00
..
mocktest.sh Fedora CI: Add support for Zuul based CI 2020-03-06 15:05:24 +01:00
python-clikit.spec Add %pyproject_save_files macro 2020-04-15 16:45:10 +02:00
python-entrypoints.spec Add %pyproject_save_files macro 2020-04-15 16:45:10 +02:00
python-isort.spec Add %pyproject_save_files macro 2020-04-15 16:45:10 +02:00
python-ldap.spec Add %pyproject_save_files macro 2020-04-15 16:45:10 +02:00
python-mistune.spec Add %pyproject_save_files macro 2020-04-15 16:45:10 +02:00
python-openqa_client.spec Add %pyproject_save_files macro 2020-04-15 16:45:10 +02:00
python-pluggy.spec Add %pyproject_save_files macro 2020-04-15 16:45:10 +02:00
python-pytest.spec Add %pyproject_save_files macro 2020-04-15 16:45:10 +02:00
tests.yml Add %pyproject_save_files macro 2020-04-15 16:45:10 +02:00
tldr.spec Add %pyproject_save_files macro 2020-04-15 16:45:10 +02:00