SHA256
1
0
forked from pool/rpmlint

Accepting request 134488 from openSUSE:Factory:Staging:rpm410

- fix one more case of scripts progs changing types

OBS-URL: https://build.opensuse.org/request/show/134488
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=136
This commit is contained in:
Ludwig Nussel 2012-09-17 11:24:00 +00:00 committed by Git OBS Bridge
parent 7dd54c5ded
commit 522c3eb9ee
2 changed files with 6 additions and 1 deletions

View File

@ -174,7 +174,7 @@ class SUIDCheck(AbstractCheck.AbstractCheck):
'%(file)s is packaged with world writable permissions (0%(mode)o)' % \ '%(file)s is packaged with world writable permissions (0%(mode)o)' % \
{ 'file':f, 'mode':mode }) { 'file':f, 'mode':mode })
script = pkg[rpm.RPMTAG_POSTIN] or pkg[rpm.RPMTAG_POSTINPROG] script = pkg[rpm.RPMTAG_POSTIN] or pkg.scriptprog(pkg[rpm.RPMTAG_POSTINPROG])
found = False found = False
if script: if script:
for line in script.split("\n"): for line in script.split("\n"):

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Sep 15 07:00:29 UTC 2012 - coolo@suse.com
- fix one more case of scripts progs changing types
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Sep 13 16:00:07 UTC 2012 - dmueller@suse.com Thu Sep 13 16:00:07 UTC 2012 - dmueller@suse.com