SHA256
1
0
forked from pool/rpmlint

Accepting request 110471 from devel:openSUSE:Factory:rpmlint

- fix false positives for swp matching

OBS-URL: https://build.opensuse.org/request/show/110471
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rpmlint?expand=0&rev=159
This commit is contained in:
Stephan Kulow
2012-03-22 11:40:08 +00:00
committed by Git OBS Bridge
2 changed files with 8 additions and 4 deletions

View File

@@ -139,7 +139,7 @@ _checks = [
'bad': [
'*~',
'*.bak',
'*.swp',
'*/.*.swp',
],
'ignorefileif': ghostfile,
},
@@ -389,9 +389,8 @@ class FilelistCheck(AbstractCheck.AbstractCheck):
if 'ignorefileif' in check:
if check['ignorefileif'](pkg, f):
continue
if (not isinstance(b, str) and b.match(f)) or b == f:
m = msg % { 'file':f }
printError(pkg, error, m)
if (not isinstance(b, str) and b.match(f)) or b == f:
printError(pkg, error, msg % { 'file':f } )
invalidfhs = set()
invalidopt = set()

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Mar 21 17:59:23 CET 2012 - dmueller@suse.de
- fix false positives for swp matching
-------------------------------------------------------------------
Tue Mar 20 08:32:33 UTC 2012 - lnussel@suse.de