2015-04-10 16:35:46 +02:00
|
|
|
From: Some One <nobody@opensuse.org>
|
|
|
|
Date: Thu, 9 Apr 2015 14:55:39 +0200
|
|
|
|
Subject: [PATCH] suse-shlib-devel-dependency.diff
|
|
|
|
|
2010-04-28 22:41:49 +02:00
|
|
|
===================================================================
|
2015-04-10 16:35:46 +02:00
|
|
|
---
|
|
|
|
TagsCheck.py | 4 ++--
|
|
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
|
2017-09-28 13:35:09 +02:00
|
|
|
Index: rpmlint-rpmlint-1.10/TagsCheck.py
|
|
|
|
===================================================================
|
|
|
|
--- rpmlint-rpmlint-1.10.orig/TagsCheck.py
|
|
|
|
+++ rpmlint-rpmlint-1.10/TagsCheck.py
|
2017-09-28 22:18:14 +02:00
|
|
|
@@ -663,10 +663,10 @@ class TagsCheck(AbstractCheck.AbstractCh
|
2010-04-28 22:41:49 +02:00
|
|
|
if pkg_config_regex.match(fname) and fname.endswith('.pc'):
|
2010-04-26 23:35:02 +02:00
|
|
|
has_pc = True
|
2008-07-25 04:49:34 +02:00
|
|
|
if has_so:
|
|
|
|
- base_or_libs = base + '/' + base + '-libs/lib' + base
|
2017-09-28 22:40:41 +02:00
|
|
|
+ base_or_libs = base + '*' + '/' + base + '-libs/lib' + base + '*'
|
2010-04-26 23:35:02 +02:00
|
|
|
# try to match *%_isa as well (e.g. "(x86-64)", "(x86-32)")
|
|
|
|
base_or_libs_re = re.compile(
|
2017-09-28 13:35:09 +02:00
|
|
|
- r'^(lib)?%s(-libs)?(\(\w+-\d+\))?$' % re.escape(base))
|
|
|
|
+ r'^(lib)?%s(-libs)?[\d_]*(\(\w+-\d+\))?$' % re.escape(base))
|
2008-07-25 04:49:34 +02:00
|
|
|
for d in deps:
|
2010-04-26 23:35:02 +02:00
|
|
|
if base_or_libs_re.match(d[0]):
|
|
|
|
dep = d
|