#1155 %pyproject_buildrequires now generates runtime dependencies by default
Merged 2 years ago by tibbs. Opened 2 years ago by churchyard.
churchyard/packaging-committee pyproject_buildrequires-runtime  into  master

@@ -685,7 +685,7 @@ 

  See <<pyproject_buildrequires,the `+%pyproject_buildrequires+` macro>>

  for more details.

  

- Note that with the `+-r+` flag, the generator will include run-time

+ Note that without the `+-R+` flag, the generator will include run-time

  requirements in BuildRequires. This is useful for running tests and for

  checking that the dependencies are available in Fedora.

  
@@ -1266,7 +1266,7 @@ 

  

  

  %generate_buildrequires

- %pyproject_buildrequires -rx... / -t

+ %pyproject_buildrequires -x... / -t

  

  

  %build
@@ -1398,7 +1398,7 @@ 

  Used in the `+%generate_buildrequires+` section of the `+spec+` file.

  The macro has these options:

  +

- ** `+-r+`: Include run-time requirements (commonly needed for `+%check+`).

+ ** `+-R+`: Don't include run-time requirements (e.g. if the build backend does not support this).

  ** `+-x EXTRA+`: Include dependencies given by the given <<Extras,extra>>.

  Implies `+-r+`.

  ** `+-t+`: Include dependencies for the default _tox_ environment.