From 7dd54c5ded27b618c17b65f46e622cc08c77bac06c92ec83bb9e0ce5ac4c2eb0 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 13 Sep 2012 16:08:27 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=135 --- add-weak-dependencies.diff | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/add-weak-dependencies.diff b/add-weak-dependencies.diff index c2b4700..ed282f9 100644 --- a/add-weak-dependencies.diff +++ b/add-weak-dependencies.diff @@ -69,7 +69,7 @@ Index: Pkg.py self._gather_aux(self.header, self._requires, rpm.RPMTAG_REQUIRENAME, -@@ -748,6 +776,28 @@ class Pkg: +@@ -748,6 +776,30 @@ class Pkg: rpm.RPMTAG_OBSOLETENAME, rpm.RPMTAG_OBSOLETEFLAGS, rpm.RPMTAG_OBSOLETEVERSION) @@ -94,17 +94,16 @@ Index: Pkg.py + rpm.RPMTAG_ENHANCESFLAGS, + rpm.RPMTAG_ENHANCESVERSION, + weak_only=True) ++ except: ++ pass + def scriptprog(self, which): """Get the specified script interpreter as a string. -@@ -761,6 +811,10 @@ class Pkg: +@@ -761,6 +813,7 @@ class Pkg: prog = " ".join(prog) return prog -+ except: -+ pass -+ + def getInstalledPkgs(name): """Get list of installed package objects by name."""