Re: Important changes to software license information in Fedora packages (SPDX and more!)

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

 



Dne 02. 08. 22 v 10:24 Florian Weimer napsal(a):
* Richard Fontana:

Looks like the License: field is limited to 70 characters if I am reading this correctly:
https://github.com/rpm-software-management/rpm/blob/2b5b271b0e013c1b023df7f5775a59cb4078d5f5/docs/manual/spec.md#license
I don't think so:

$ rpm -q glibc --qf "%{license}" | wc -c
260

I think the length limits are for presentation purposes, to avoid
line-wrapping in “rpm -qi” output, but they are outdated because the
first column is now space-padded (the limit would have to be around 65
to avoid the line wraps on an 80-column terminal).

260 characters is output of two packages: glibc.x86_64 and glibc.i686

$ rpm -q glibc.x86_64 --qf "%{license}"|wc -c
130

Miroslav

_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-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/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux