forked from pool/rpmlint
- ignore fixed dependencies on config()
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=100
This commit is contained in:
parent
6213dc0a26
commit
0245201e41
@ -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]))
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
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
|
||||
|
||||
|
10
rpmlint.spec
10
rpmlint.spec
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user