forked from pool/rpmlint
Ludwig Nussel
9568df5038
- create the valid licenses from list tracked by SUSE legal (dumped into obs-service_format_spec_file, so use that one as buildrequire) OBS-URL: https://build.opensuse.org/request/show/96851 OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=81
18 lines
461 B
Python
18 lines
461 B
Python
# -*- python -*-
|
|
# vim: syntax=python sw=4 et
|
|
|
|
# This line is mandatory to access the configuration functions
|
|
from Config import *
|
|
from Filter import addDetails
|
|
|
|
addDetails('invalid-license',
|
|
"""The specified license string is not recognized. Please refer to
|
|
http://license.opensuse.org/ for the list of known licences and
|
|
their exact spelling.""")
|
|
|
|
# from http://www.spdx.org/licenses/
|
|
setOption('ValidLicenses', (
|
|
# generated in spec file
|
|
#VALIDLICENSES
|
|
))
|