Bug 841043
Summary: | [PATCH] licensecheck "Public domain" output causes truncation | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Garrett Holmstrom <gholms> | ||||||
Component: | rpmdevtools | Assignee: | Ville Skyttä <ville.skytta> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | unspecified | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | 16 | CC: | a.badger, ville.skytta | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2012-09-17 23:49:39 UTC | Type: | Bug | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Same issue with WTFPL it seems. Applied in rpmdevtools git and forwarded to upstream devscripts maintainers, thanks. http://git.fedorahosted.org/git/?p=rpmdevtools.git;a=commitdiff;h=1754e0a3ee2f2dce656aa591ddcb9d5f043c4a07 Created attachment 599871 [details]
Test case
rpmdevtools-8.3-1.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/rpmdevtools-8.3-1.fc18 rpmdevtools-8.3-1.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/rpmdevtools-8.3-1.fc17 rpmdevtools-8.3-1.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/rpmdevtools-8.3-1.fc16 Package rpmdevtools-8.3-1.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing rpmdevtools-8.3-1.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-13208/rpmdevtools-8.3-1.fc18 then log in and leave karma (feedback). rpmdevtools-8.3-1.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report. rpmdevtools-8.3-1.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report. rpmdevtools-8.3-1.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report. |
Created attachment 598768 [details] Patch for licensecheck Public domain truncation Description of problem: When licensecheck runs across a file that it determines to be "Public domain" it drops every previously-found license because it forgets to append them to the string "Public domain". The attached patch fixes the problem. Version-Release number of selected component (if applicable): rpmdevtools-8.2-1.fc16.noarch How reproducible: Always Steps to Reproduce: Run licensecheck on a file with multiple licenses, the last of which is public domain Actual results: Public domain Expected results: Public domain $other_licenses