SHA256
1
0
forked from pool/rpmlint
Dirk Mueller 2012-09-13 16:08:27 +00:00 committed by Git OBS Bridge
parent 202a2696c3
commit 7dd54c5ded

View File

@ -69,7 +69,7 @@ Index: Pkg.py
self._gather_aux(self.header, self._requires, self._gather_aux(self.header, self._requires,
rpm.RPMTAG_REQUIRENAME, rpm.RPMTAG_REQUIRENAME,
@@ -748,6 +776,28 @@ class Pkg: @@ -748,6 +776,30 @@ class Pkg:
rpm.RPMTAG_OBSOLETENAME, rpm.RPMTAG_OBSOLETENAME,
rpm.RPMTAG_OBSOLETEFLAGS, rpm.RPMTAG_OBSOLETEFLAGS,
rpm.RPMTAG_OBSOLETEVERSION) rpm.RPMTAG_OBSOLETEVERSION)
@ -94,17 +94,16 @@ Index: Pkg.py
+ rpm.RPMTAG_ENHANCESFLAGS, + rpm.RPMTAG_ENHANCESFLAGS,
+ rpm.RPMTAG_ENHANCESVERSION, + rpm.RPMTAG_ENHANCESVERSION,
+ weak_only=True) + weak_only=True)
+ except:
+ pass
+ +
def scriptprog(self, which): def scriptprog(self, which):
"""Get the specified script interpreter as a string. """Get the specified script interpreter as a string.
@@ -761,6 +811,10 @@ class Pkg: @@ -761,6 +813,7 @@ class Pkg:
prog = " ".join(prog) prog = " ".join(prog)
return prog return prog
+ except:
+ pass
+
+ +
def getInstalledPkgs(name): def getInstalledPkgs(name):
"""Get list of installed package objects by name.""" """Get list of installed package objects by name."""