forked from pool/rpmlint
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=135
This commit is contained in:
parent
202a2696c3
commit
7dd54c5ded
@ -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."""
|
||||||
|
Loading…
Reference in New Issue
Block a user