SHA256
1
0
forked from pool/rpmlint

Accepting request 107556 from devel:openSUSE:Factory:rpmlint

- add udisks2 to dbus whitelist (bnc#742751)
- add smb4k to dbus whitelist (bnc#749065)

- ignore fixed dependencies on config()

OBS-URL: https://build.opensuse.org/request/show/107556
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rpmlint?expand=0&rev=156
This commit is contained in:
Stephan Kulow 2012-03-01 16:27:26 +00:00 committed by Git OBS Bridge
commit 4474a39472
4 changed files with 26 additions and 3 deletions

View File

@ -408,7 +408,7 @@ class LibraryPolicyCheck(AbstractCheck.AbstractCheck):
# Verify shared lib policy package doesn't have hard dependency on non-lib packages
if std_lib_package:
for dep in pkg.requires():
if (dep[0][0:7] == 'rpmlib('):
if (dep[0].startswith('rpmlib(') or dep[0].startswith('config(')):
continue
if (dep[1] & (rpm.RPMSENSE_GREATER | rpm.RPMSENSE_EQUAL)) == rpm.RPMSENSE_EQUAL:
printWarning(pkg, "shlib-fixed-dependency", Pkg.formatRequire(dep[0], dep[1], dep[2]))

6
config
View File

@ -349,6 +349,9 @@ setOption("DBUSServices.WhiteList", (
# udisks
"org.freedesktop.UDisks.service",
"org.freedesktop.UDisks.conf",
# udisks2 (bnc#742751)
"org.freedesktop.UDisks2.service",
"org.freedesktop.UDisks2.conf",
# scmon
"com.novell.Pkcs11Monitor.conf",
# systemd (bnc#641924)
@ -485,6 +488,9 @@ setOption("DBUSServices.WhiteList", (
"org.kde.kalarmrtcwake.service",
# NetworkManager-openvpn (bnc#732915)
"nm-openconnect-service.conf",
# smb4k (bnc#749065)
"de.berlios.smb4k.mounthelper.conf",
"de.berlios.smb4k.mounthelper.service",
))
# Output filters

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Wed Feb 29 13:49:51 UTC 2012 - lnussel@suse.de
- add udisks2 to dbus whitelist (bnc#742751)
- add smb4k to dbus whitelist (bnc#749065)
-------------------------------------------------------------------
Wed Feb 29 12:02:40 CET 2012 - dmueller@suse.de
- ignore fixed dependencies on config()
-------------------------------------------------------------------
Mon Feb 20 16:05:23 UTC 2012 - lnussel@suse.de

View File

@ -57,10 +57,16 @@ Source26: CheckLogrotate.py
Source100: syntax-validator.py
Url: http://rpmlint.zarb.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: rpm-python, /usr/bin/readelf, file, findutils, cpio, bash
Requires: /usr/bin/readelf
Requires: bash
Requires: checkbashisms
Requires: cpio
Requires: dash
Requires: desktop-file-utils
Requires: file
Requires: findutils
Requires: python-magic
Requires: dash checkbashisms
Requires: rpm-python
BuildArch: noarch
Patch0: rpmlint-suse.diff
Patch1: suse-checks.diff