diff --git a/avoid-mismatched-libregex.diff b/avoid-mismatched-libregex.diff new file mode 100644 index 0000000..a8b81bc --- /dev/null +++ b/avoid-mismatched-libregex.diff @@ -0,0 +1,11 @@ +--- 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) diff --git a/rpmlint.changes b/rpmlint.changes index bfa09a3..3eacf64 100644 --- a/rpmlint.changes +++ b/rpmlint.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Oct 7 23:53:26 CEST 2009 - dmueller@suse.de + +- tighten the regex for libraries (bnc#544906) + ------------------------------------------------------------------- Wed Sep 30 16:31:13 CEST 2009 - dmueller@suse.de diff --git a/rpmlint.spec b/rpmlint.spec index 1cb112e..54cfa20 100644 --- a/rpmlint.spec +++ b/rpmlint.spec @@ -23,7 +23,7 @@ Name: rpmlint BuildRequires: rpm-python Summary: Rpm correctness checker Version: 0.90 -Release: 2 +Release: 3 Source0: %{name}-%{version}.tar.bz2 Source1: config Source1001: config.in @@ -108,6 +108,7 @@ Patch68: more-verbose-lsb-check.diff Patch69: useless-requires-doc.diff Patch71: suse-binary-info-compile-opts.diff Patch72: version-control-internal-file.diff +Patch73: avoid-mismatched-libregex.diff %py_requires %description @@ -177,6 +178,7 @@ Authors: #%patch69 #%patch71 %patch72 +%patch73 cp -p %{SOURCE1} . cp -p %{SOURCE2} . cp -p %{SOURCE3} .