SHA256
1
0
forked from pool/rpmlint

- better deal with spaces in logrotate config

- add colord-sane dbus service to whitelist (bnc#752518)

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=107
This commit is contained in:
Ludwig Nussel 2012-03-20 08:34:26 +00:00 committed by Git OBS Bridge
parent d055a4f379
commit fad9b7334a
3 changed files with 12 additions and 2 deletions

View File

@ -63,7 +63,8 @@ class LogrotateCheck(AbstractCheck.AbstractCheck):
if line.endswith('{'):
insection = True
for logfile in line.split(' '):
if logfile == '{':
logfile = logfile.strip()
if len(logfile) == 0 or logfile == '{':
continue
dn = os.path.dirname(logfile)
if not dn in dirs:

5
config
View File

@ -1,5 +1,5 @@
# -*- python -*-
# vim: syntax=python
# vim: syntax=python sw=4 et
# Configuration for the rpmlint utility.
# Loaded before ~/.rpmlintrc
# $Id: config,v 1.39 2003/12/22 11:20:55 flepied Exp $
@ -481,6 +481,9 @@ setOption("DBUSServices.WhiteList", (
# colord (bnc#698250)
"org.freedesktop.ColorManager.service",
"org.freedesktop.ColorManager.conf",
# colord-sane (bnc#752518)
"org.freedesktop.colord-sane.service",
"org.freedesktop.colord-sane.conf",
# lightdm (bnc#708205)
"org.freedesktop.DisplayManager.conf",
# kdepim4/kalarm (bnc#707723)

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Mar 20 08:32:33 UTC 2012 - lnussel@suse.de
- better deal with spaces in logrotate config
- add colord-sane dbus service to whitelist (bnc#752518)
-------------------------------------------------------------------
Fri Mar 16 14:26:34 CET 2012 - dmueller@suse.de