diff --git a/add-weak-dependencies.diff b/add-weak-dependencies.diff index 73196b2..c2b4700 100644 --- a/add-weak-dependencies.diff +++ b/add-weak-dependencies.diff @@ -69,10 +69,10 @@ Index: Pkg.py self._gather_aux(self.header, self._requires, rpm.RPMTAG_REQUIRENAME, -@@ -761,6 +789,32 @@ class Pkg: - prog = " ".join(prog) - return prog - +@@ -748,6 +776,28 @@ class Pkg: + rpm.RPMTAG_OBSOLETENAME, + rpm.RPMTAG_OBSOLETEFLAGS, + rpm.RPMTAG_OBSOLETEVERSION) + try: + self._gather_aux(self.header, self._recommends, + rpm.RPMTAG_SUGGESTSNAME, @@ -95,6 +95,13 @@ Index: Pkg.py + rpm.RPMTAG_ENHANCESVERSION, + weak_only=True) + + + def scriptprog(self, which): + """Get the specified script interpreter as a string. +@@ -761,6 +811,10 @@ class Pkg: + prog = " ".join(prog) + return prog + + except: + pass +