| |
@@ -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.
|
| |
See https://lists.fedorahosted.org/archives/list/python-devel@lists.fedoraproject.org/thread/4Z7QWA5WDENAQJDH3O2HOM2UTBYPYNU5/
Fixes https://pagure.io/packaging-committee/issue/1145