From a0c55b6d0b4b1e88e83ac4e3746e7761f6a0ca36 Mon Sep 17 00:00:00 2001 From: Miro HronĨok Date: Sep 01 2022 07:44:21 +0000 Subject: %pyproject_buildrequires: Don't confuse packagers with implied -r Fixes https://bugzilla.redhat.com/show_bug.cgi?id=2123167 --- diff --git a/guidelines/modules/ROOT/pages/Python.adoc b/guidelines/modules/ROOT/pages/Python.adoc index b4de9c6..d399e90 100644 --- a/guidelines/modules/ROOT/pages/Python.adoc +++ b/guidelines/modules/ROOT/pages/Python.adoc @@ -1445,13 +1445,16 @@ Used in the `+%generate_buildrequires+` section of the `+spec+` file. The macro has these options: + ** `+-R+`: Don't include run-time requirements (e.g. if the build backend does not support this). +** `+-r+`: Include run-time requirements +(this flag is not needed and exists for backward-compatibility reasons only, +run-time requirements are included by default). ** `+-x EXTRA+`: Include dependencies given by the given <>. -Implies `+-r+`. +Cannot be used with `+-R+`. ** `+-t+`: Include dependencies for the default _tox_ environment. -Implies `+-r+`. +Cannot be used with `+-R+`. ** `+-e ENV+`: Include dependencies for the given _tox_ environment, and save the `+ENV+` name as `+%{toxenv}+`. -Implies `+-r+`. +Cannot be used with `+-R+`. Multiple comma separated values can be given, for example: + [source,spec]