diff --git a/rpmlint.changes b/rpmlint.changes index 852253f..83457ff 100644 --- a/rpmlint.changes +++ b/rpmlint.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jun 23 14:39:51 CEST 2011 - dmueller@suse.de + +- remove some false positives of the no-dependency-on checker + ------------------------------------------------------------------- Wed Jun 15 12:34:09 UTC 2011 - lnussel@suse.de diff --git a/rpmlint.spec b/rpmlint.spec index db01c05..339e4f3 100644 --- a/rpmlint.spec +++ b/rpmlint.spec @@ -131,6 +131,7 @@ Patch89: rpmlint-pie.diff # accepted upstream Patch90: rpmlint-typo.diff Patch91: rpmlint-subsys.diff +Patch92: suse-fix-library-dependencies.diff %py_requires %description @@ -213,6 +214,7 @@ Authors: %patch88 %patch89 -p1 %patch90 -p1 +%patch92 cp -p %{SOURCE1} . cp -p %{SOURCE2} . cp -p %{SOURCE3} . diff --git a/suse-fix-library-dependencies.diff b/suse-fix-library-dependencies.diff new file mode 100644 index 0000000..ef8519f --- /dev/null +++ b/suse-fix-library-dependencies.diff @@ -0,0 +1,11 @@ +--- TagsCheck.py ++++ TagsCheck.py +@@ -633,7 +633,7 @@ + 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)) ++ '^(lib)?%s(-libs)?(\(\w+-\d+\))?' % re.escape(base)) + for d in deps: + if base_or_libs_re.match(d[0]): + dep = d