filter out broken-syntax-in-scriptlet-requires (except on el4/5)

This commit is contained in:
Tom Callaway 2014-02-10 16:04:28 -05:00
parent 37bafdf91a
commit 139a2c4b32
4 changed files with 15 additions and 2 deletions

View File

@ -40,7 +40,7 @@ setOption("DanglingSymlinkExceptions", (
setOption("ValidLicenses", (
# These are the short names for all of the Fedora approved licenses.
# The master list is kept here: http://fedoraproject.org/wiki/Licensing
# Last synced with revision "2.17, 31 July 2013" of that page.
# Last synced with revision "2.20, 9 February 2014" of that page.
'AAL',
'Abstyles',
'Adobe',
@ -192,6 +192,7 @@ setOption("ValidLicenses", (
'Newsletr',
'NGPL',
'NLPL',
'Nmap',
'Nokia',
'NOSL',
'Noweb',
@ -223,6 +224,7 @@ setOption("ValidLicenses", (
'Qhull',
'QPL',
'Rdisc',
'REX',
'RiceBSD',
'Romio',
'RPSL',
@ -247,6 +249,7 @@ setOption("ValidLicenses", (
'Tolua',
'TORQUEv1.1',
'TOSL',
'TPDL',
'TPL',
'UCD',
'Vim',
@ -402,6 +405,8 @@ 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/.*$")
# Fixed in rpm >= 4.7.1
addFilter("broken-syntax-in-scriptlet-requires")
# https://bugzilla.redhat.com/496737, https://bugzilla.redhat.com/646455
for pkg, exe in (("coreutils", "/bin/su"),

View File

@ -24,3 +24,5 @@ removeFilter("no-%clean-section")
# (it automatically provides one).
removeFilter("files-attr-not-set")
# Fixed in rpm >= 4.7.1
removeFilter("broken-syntax-in-scriptlet-requires")

View File

@ -20,3 +20,5 @@ removeFilter("no-cleaning-of-buildroot")
removeFilter("no-buildroot-tag")
removeFilter("no-%clean-section")
# Fixed in rpm >= 4.7.1
removeFilter("broken-syntax-in-scriptlet-requires")

View File

@ -1,6 +1,6 @@
Name: rpmlint
Version: 1.5
Release: 7%{?dist}
Release: 8%{?dist}
Summary: Tool for checking common errors in RPM packages
Group: Development/Tools
@ -111,6 +111,10 @@ make check
%changelog
* Mon Feb 10 2014 Tom Callaway <spot@fedoraproject.org> - 1.5-8
- filter out broken-syntax-in-scriptlet-requires (except on el4/5)
- update license list
* Sun Feb 9 2014 Ville Skyttä <ville.skytta@iki.fi> - 1.5-7
- Make default config Python 3 compatible.