Bug 7602 - Non existent license name "ASL 2.0" in rpmlint rules.
Summary: Non existent license name "ASL 2.0" in rpmlint rules.
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Remco Rijnders
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-27 19:01 CEST by Jehan Hysseo
Modified: 2015-07-06 19:40 CEST (History)
2 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description Jehan Hysseo 2012-09-27 19:01:41 CEST
The licensing policy (https://wiki.mageia.org/en/Licensing_policy) says that the short names of the Fedora license list is used: https://fedoraproject.org/wiki/Licensing:Main?rd=Licensing#SoftwareLicenses

In this list, there is "ASL 2.0" (Apache License 2.0).
But if I write a spec file with this short name, rpmlint tells me:

kytea.x86_64: W: invalid-license ASL 2.0

So there is a difference between our policy and rpmlint rules.
Unless we decided to diverge from Fedore license naming, I would say that's a bug in rpmlint rules. So either the policy has to be modified, or rpmlint rules.

Note also that in /usr/share/rpmlint/TagsCheck.py, we find:
    'Apache License',
    'Apache Software License',
in the list of valid licenses. I would say this is a bug too, and should not be accepted (still according to our license policy).

Reproduction:

- create a RPM spec with license:
License:        ASL 2.0
-`rpmbuild -ba` the spec.
- rpmlint the binary rpm or the src rpm.
Nicolas Vigier 2013-09-21 16:02:23 CEST

CC: (none) => boklm
Component: BuildSystem => RPM Packages
Version: unspecified => Cauldron
Product: Infrastructure => Mageia

Nicolas Vigier 2013-09-21 16:02:52 CEST

Assignee: sysadmin-bugs => qa-bugs

Comment 1 claire robinson 2013-09-21 16:12:03 CEST
Why is this assigned to QA please ?
Comment 2 Nicolas Vigier 2013-09-21 17:12:01 CEST
Oops, it was an error, sorry.

Assignee: qa-bugs => bugsquad

Nicolas Vigier 2014-03-24 10:52:46 CET

CC: boklm => (none)

Remco Rijnders 2014-08-19 13:27:27 CEST

CC: (none) => remco

Remco Rijnders 2015-07-06 12:25:16 CEST

Assignee: bugsquad => remco

Comment 3 Remco Rijnders 2015-07-06 19:40:00 CEST
Hi Jehan,

Sorry for the long turn around time. I believe rpmlint-1.5-3.mga6 fixes this issue. Thank you for the report!

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.