#1149 %pyproject_save_files can handle %licenses
Merged 2 years ago by tibbs. Opened 2 years ago by churchyard.
churchyard/packaging-committee python_license_files  into  master

@@ -1207,12 +1207,11 @@ 

  # Note that there is no %%files section for

  # the unversioned python module, python-pello.

  

- # For python3-pello, %%{pyproject_files} handles code files, but

- # executables, documentation and licenses must be listed in the spec file:

+ # For python3-pello, %%{pyproject_files} handles code files and %%license,

+ # but executables and documentation must be listed in the spec file:

  

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

  %doc README.md

- %license LICENSE.txt

  %{_bindir}/pello_greeting

  

  
@@ -1271,7 +1270,6 @@ 

  

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

  %doc README.*

- %license LICENSE*

  %{_bindir}/...

  

  
@@ -1423,7 +1421,8 @@ 

  Generate a list of files corresponding to the given importable module(s)

  and save it as `+%{pyproject_files}+`.

  +

- Note that README and license files are not included.

+ Note that README file is not included.

+ The LICENSE file is included when it is specified in the metadata.

  Also, while the macro allows including executable and other files

  (using the `+auto` flag),

  this feature *MUST NOT* be used in Fedora.

Typo: "is is"

Thanks, fixed.

rebased onto 35ded35f90f69b7823136f10ac50c50579dbb1df

2 years ago

rebased onto 39ae3a6

2 years ago

I'm assuming that this is available everywhere that the guidelines apply.

Pull-Request has been merged by tibbs

2 years ago
Metadata