Update licenses and add TIZEN-* licenses 79/8179/1 submit/tizen/20130813.144733
authorAnas Nashif <anas.nashif@intel.com>
Tue, 13 Aug 2013 14:47:31 +0000 (10:47 -0400)
committerAnas Nashif <anas.nashif@intel.com>
Tue, 13 Aug 2013 14:47:31 +0000 (10:47 -0400)
TagsCheck.py
packaging/licenses.config
packaging/rpmlint.changes

index 066ee19..48486d4 100644 (file)
@@ -804,8 +804,8 @@ class TagsCheck(AbstractCheck.AbstractCheck):
             printError(pkg, 'no-license')
         else:
             valid_license = True
-            for p in ['TBD', 'TO BE', 'FILLED', 'Unspecified', 'TO_BE', 'TIZEN', 'samsung', 'Samsung'  ]:
-                if p in rpm_license:
+            for p in ['TBD', 'TO BE', 'FILLED', 'Unspecified', 'TO_BE', 'samsung', 'Samsung'  ]:
+                if p in rpm_license or p.lower() in rpm_license:
                     printWarning(pkg, 'license-placeholder-not-allowed', rpm_license)
                     valid_license = False
                     break
index b6c2b95..931233e 100644 (file)
@@ -219,7 +219,10 @@ setOption('ValidLicenses', (
 'ZPL-1.1',
 'ZPL-2.0',
 'ZPL-2.1',
-'Flora',
-'LGPL-2.1+-with-GCC-exception',
+'TIZEN-Flora',
+'TIZEN-LGPL-2.1+-with-GCC-exception',
+'TIZEN-Vim',
+'TIZEN-Tcl',
 'Vim',
+'Flora',
 ))
index 5424a7f..0cdf0da 100644 (file)
@@ -1,3 +1,6 @@
+* Tue Aug 13 2013 Anas Nashif <anas.nashif@intel.com> submit/tizen/20130802.145509@00cd9b9
+- Update licenses and add TIZEN-* licenses
+
 * Thu Aug 01 2013 Anas Nashif <anas.nashif@intel.com> submit/tizen/20130712.022129@0bdfcdd
 - Add glibc license
 - re-add Development/Libraries to avoid mass failure of packages for now