SHA256
1
0
forked from pool/rpmlint
rpmlint/avoid-mismatched-libregex.diff
OBS User autobuild e56d0fdbfa Accepting request 22039 from Base:System
Copy from Base:System/rpmlint based on submit request 22039 from user dirkmueller

OBS-URL: https://build.opensuse.org/request/show/22039
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rpmlint?expand=0&rev=48
2009-10-08 00:54:02 +00:00

12 lines
551 B
Diff

--- FilesCheck.py
+++ FilesCheck.py
@@ -184,7 +184,7 @@
sofile_regex = re.compile('/lib(64)?/(.+/)?lib[^/]+\.so$')
devel_regex = re.compile('(.*)-(debug(info)?|devel|headers|source|static)$')
debuginfo_package_regex = re.compile('-debug(info)?$')
-lib_regex = re.compile('lib(64)?/lib[^/]*\.so\..*')
+lib_regex = re.compile('/lib(64)?/lib[^/]*\.so\.[\d\.-]*$')
ldconfig_regex = re.compile('^[^#]*ldconfig', re.MULTILINE)
depmod_regex = re.compile('^[^#]*depmod', re.MULTILINE)
install_info_regex = re.compile('^[^#]*install-info', re.MULTILINE)