exclude non config files that live in /etc, update license list

This commit is contained in:
Tom Callaway 2013-03-06 16:09:55 -05:00
parent c13d69f991
commit e83f5fc5a6
2 changed files with 20 additions and 2 deletions

View File

@ -40,18 +40,20 @@ setOption("DanglingSymlinkExceptions", (
setOption("ValidLicenses", ( setOption("ValidLicenses", (
# These are the short names for all of the Fedora approved licenses. # These are the short names for all of the Fedora approved licenses.
# The master list is kept here: http://fedoraproject.org/wiki/Licensing # The master list is kept here: http://fedoraproject.org/wiki/Licensing
# Last synced with revision "2.03, 13 August 2012" of that page. # Last synced with revision "2.12, 4 March 2013" of that page.
'AAL', 'AAL',
'Abstyles', 'Abstyles',
'Adobe', 'Adobe',
'ADSL', 'ADSL',
'AFL', 'AFL',
'Afmparse',
'AGPLv1', 'AGPLv1',
'AGPLv3', 'AGPLv3',
'AGPLv3 with exceptions', 'AGPLv3 with exceptions',
'AMDPLPA', 'AMDPLPA',
'AML', 'AML',
'AMPAS BSD', 'AMPAS BSD',
'APAFML',
'APSL 2.0', 'APSL 2.0',
'APSL 2.0+', 'APSL 2.0+',
'ARL', 'ARL',
@ -88,6 +90,7 @@ setOption("ValidLicenses", (
'CPL', 'CPL',
'Crossword', 'Crossword',
'Crystal Stacker', 'Crystal Stacker',
'Cube',
'diffmark', 'diffmark',
'DOC', 'DOC',
'Dotseqn', 'Dotseqn',
@ -106,6 +109,8 @@ setOption("ValidLicenses", (
'EUPL 1.1', 'EUPL 1.1',
'Eurosym', 'Eurosym',
'Fair', 'Fair',
'FSFUL',
'FSFULLR',
'FTL', 'FTL',
'Giftware', 'Giftware',
'GL2PS', 'GL2PS',
@ -163,6 +168,7 @@ setOption("ValidLicenses", (
'midnight', 'midnight',
'MirOS', 'MirOS',
'MIT', 'MIT',
'MITNFA',
'MIT with advertising', 'MIT with advertising',
'mod_macro', 'mod_macro',
'Motosoto', 'Motosoto',
@ -173,6 +179,8 @@ setOption("ValidLicenses", (
'MPLv2.0', 'MPLv2.0',
'MS-PL', 'MS-PL',
'MS-RL', 'MS-RL',
'MTLL',
'Mup',
'Naumen', 'Naumen',
'NCSA', 'NCSA',
'NetCDF', 'NetCDF',
@ -226,6 +234,8 @@ setOption("ValidLicenses", (
'SLIB', 'SLIB',
'SNIA', 'SNIA',
'SPL', 'SPL',
'STMPL',
'SWL',
'TCL', 'TCL',
'Teeworlds', 'Teeworlds',
'Threeparttable', 'Threeparttable',
@ -267,6 +277,7 @@ setOption("ValidLicenses", (
'OFSFDL', 'OFSFDL',
'Open Publication', 'Open Publication',
'Public Use', 'Public Use',
'Verbatim',
# Content licenses # Content licenses
'CC-BY', 'CC-BY',
'CC-BY-ND', 'CC-BY-ND',
@ -383,6 +394,9 @@ addFilter("non-ghost-in-var-run")
# Someone thought it was a good idea to make .desktop files executable. They were wrong. # Someone thought it was a good idea to make .desktop files executable. They were wrong.
# Nevertheless, I do not yet control the universe, so we squelch the error here. # Nevertheless, I do not yet control the universe, so we squelch the error here.
addFilter("script-without-shebang .*\.desktop$") addFilter("script-without-shebang .*\.desktop$")
# Some files in /etc/ are not meant to be modified by the sysadmin
addFilter("non-conffile-in-etc /etc/rpm/.*$")
addFilter("non-conffile-in-etc /etc/rc.d/init.d/.*$")
# https://bugzilla.redhat.com/496737, https://bugzilla.redhat.com/646455 # https://bugzilla.redhat.com/496737, https://bugzilla.redhat.com/646455
for pkg, exe in (("coreutils", "/bin/su"), for pkg, exe in (("coreutils", "/bin/su"),

View File

@ -1,6 +1,6 @@
Name: rpmlint Name: rpmlint
Version: 1.4 Version: 1.4
Release: 12%{?dist} Release: 13%{?dist}
Summary: Tool for checking common errors in RPM packages Summary: Tool for checking common errors in RPM packages
Group: Development/Tools Group: Development/Tools
@ -110,6 +110,10 @@ make check
%changelog %changelog
* Wed Mar 6 2013 Tom Callaway <spot@fedoraproject.org> - 1.4-13
- update license list
- exclude non-config files that live in /etc
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-12 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild