[Bug 2279080] Review Request: python-pypdf - Pure-Python PDF library

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=2279080



--- Comment #12 from Felix Schwarz <fschwarz@xxxxxxxxxxxxxxxxx> ---
The problem is that the LICENSE file is not marked as such in rpm so it only
ends up in the dist-info metadata.

https://docs.fedoraproject.org/en-US/packaging-guidelines/LicensingGuidelines/#_license_text
"If the source package includes the text of the license(s) in its own file,
then that file, containing the text of the license(s) for the package must be
included in the %files list flagged with the %license directive."
...
"What is important is not the visible presence of the %license directive but
instead that all relevant license files included in a package appear when using
rpm -q --licensefiles."

Here are the contents of the extracted python3-pypdf rpm:

.
├── lib
│   └── python3.12
│       └── site-packages
│           ├── pypdf
                ...
│           └── pypdf-4.2.0.dist-info
│               ├── INSTALLER
│               ├── LICENSE
│               ├── METADATA
│               └── WHEEL
└── share
    └── doc
        └── python3-pypdf
            ├── CHANGELOG.md
            ├── CONTRIBUTORS.md
            └── README.md

Once the file is recognized via '%license', it should show up as
"/usr/share/licenses/python3-pypdf/LICENSE". Not sure if this is supposed to
happen automatically via the Python macros but currently the LICENSE file is
not recognized as such by rpm.


-- 
You are receiving this mail because:
You are always notified about changes to this product and component
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2279080

Report this comment as SPAM: https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202279080%23c12
--
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/package-review@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux