forked from pool/rpmlint
Dirk Mueller
9792c2c48b
- Add rpmlint-slpp-NUM-NUM.patch: Match libFOO<num>-<num> as a valid dependency on a libary. According the openSUSE packaging policy, if the library name ends on a number, we add a dash between the basename (before the .so) and the version after .so. OBS-URL: https://build.opensuse.org/request/show/541862 OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=546
14 lines
773 B
Diff
14 lines
773 B
Diff
Index: rpmlint-rpmlint-1.10/TagsCheck.py
|
|
===================================================================
|
|
--- rpmlint-rpmlint-1.10.orig/TagsCheck.py
|
|
+++ rpmlint-rpmlint-1.10/TagsCheck.py
|
|
@@ -673,7 +673,7 @@ class TagsCheck(AbstractCheck.AbstractCh
|
|
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(
|
|
- r'^(lib)?%s(-libs)?[\d_]*(\(\w+-\d+\))?$' % re.escape(base))
|
|
+ r'^(lib)?%s(-libs)?[\d_-]*(\(\w+-\d+\))?$' % re.escape(base))
|
|
for d in deps:
|
|
if base_or_libs_re.match(d[0]):
|
|
dep = d
|