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(-)
|
|
|
|
|
|
|
|
diff --git a/TagsCheck.py b/TagsCheck.py
|
2015-11-26 11:24:13 +01:00
|
|
|
index 8dccbf1..f229a28 100644
|
2015-04-10 16:35:46 +02:00
|
|
|
--- a/TagsCheck.py
|
|
|
|
+++ b/TagsCheck.py
|
|
|
|
@@ -642,10 +642,10 @@ class TagsCheck(AbstractCheck.AbstractCheck):
|
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
|
2010-04-26 23:35:02 +02:00
|
|
|
+ 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))
|
2011-06-23 15:05:31 +02:00
|
|
|
+ '^(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
|