- remove some false positives of the no-dependency-on checker

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=39
This commit is contained in:
Dirk Mueller 2011-06-23 12:40:45 +00:00 committed by Git OBS Bridge
parent 348564642c
commit 95f0e79e9c
3 changed files with 18 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jun 23 14:39:51 CEST 2011 - dmueller@suse.de
- remove some false positives of the no-dependency-on checker
-------------------------------------------------------------------
Wed Jun 15 12:34:09 UTC 2011 - lnussel@suse.de

View File

@ -131,6 +131,7 @@ Patch89: rpmlint-pie.diff
# accepted upstream
Patch90: rpmlint-typo.diff
Patch91: rpmlint-subsys.diff
Patch92: suse-fix-library-dependencies.diff
%py_requires
%description
@ -213,6 +214,7 @@ Authors:
%patch88
%patch89 -p1
%patch90 -p1
%patch92
cp -p %{SOURCE1} .
cp -p %{SOURCE2} .
cp -p %{SOURCE3} .

View File

@ -0,0 +1,11 @@
--- TagsCheck.py
+++ TagsCheck.py
@@ -633,7 +633,7 @@
base_or_libs = base + '/' + base + '-libs/lib' + base
# try to match *%_isa as well (e.g. "(x86-64)", "(x86-32)")
base_or_libs_re = re.compile(
- '^(lib)?%s(-libs)?(\(\w+-\d+\))?$' % re.escape(base))
+ '^(lib)?%s(-libs)?(\(\w+-\d+\))?' % re.escape(base))
for d in deps:
if base_or_libs_re.match(d[0]):
dep = d