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-qglibc.x86_64 --qf"%{license}"|wc-c
130

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

Reply via email to