This commit is contained in:
committed by
Git OBS Bridge
parent
83481adde8
commit
9525994e02
@@ -15,7 +15,7 @@ Index: lib/depends.c
|
||||
alKey pkgKey; /* addedPackages key */
|
||||
int xx;
|
||||
int ec = 0;
|
||||
@@ -387,6 +388,40 @@ addheader:
|
||||
@@ -399,6 +400,40 @@ addheader:
|
||||
}
|
||||
obsoletes = rpmdsFree(obsoletes);
|
||||
|
||||
@@ -56,7 +56,7 @@ Index: lib/depends.c
|
||||
ec = 0;
|
||||
|
||||
exit:
|
||||
@@ -644,6 +679,57 @@ exit:
|
||||
@@ -656,6 +691,57 @@ exit:
|
||||
return rc;
|
||||
}
|
||||
|
||||
@@ -114,7 +114,7 @@ Index: lib/depends.c
|
||||
/**
|
||||
* Check added requires/conflicts against against installed+added packages.
|
||||
* @param ts transaction set
|
||||
@@ -1727,6 +1813,7 @@ int rpmtsCheck(rpmts ts)
|
||||
@@ -1730,6 +1816,7 @@ int rpmtsCheck(rpmts ts)
|
||||
rpmteDS(p, RPMTAG_CONFLICTNAME),
|
||||
NULL,
|
||||
tscolor, 1);
|
||||
@@ -122,7 +122,7 @@ Index: lib/depends.c
|
||||
if (rc)
|
||||
goto exit;
|
||||
|
||||
@@ -1824,3 +1911,22 @@ exit:
|
||||
@@ -1827,3 +1914,22 @@ exit:
|
||||
/*@=branchstate@*/
|
||||
return rc;
|
||||
}
|
||||
@@ -208,7 +208,7 @@ Index: lib/poptQV.c
|
||||
case POPT_DUMP: qva->qva_flags |= QUERY_FOR_DUMPFILES | QUERY_FOR_LIST;
|
||||
break;
|
||||
|
||||
@@ -278,6 +279,8 @@ struct poptOption rpmQueryPoptTable[] =
|
||||
@@ -278,6 +279,8 @@ struct poptOption rpmQueryPoptTable[] =
|
||||
N_("skip %%readme files"), NULL },
|
||||
#endif
|
||||
|
||||
@@ -221,9 +221,9 @@ Index: lib/query.c
|
||||
===================================================================
|
||||
--- lib/query.c.orig
|
||||
+++ lib/query.c
|
||||
@@ -225,6 +225,10 @@ int showQueryPackage(QVA_t qva, rpmts ts
|
||||
if ((qva->qva_fflags & RPMFILE_GHOST) && (fflags & RPMFILE_GHOST))
|
||||
continue;
|
||||
@@ -258,6 +258,10 @@ int showQueryPackage(QVA_t qva, rpmts ts
|
||||
te = t + tx;
|
||||
}
|
||||
|
||||
+ /* If querying patches, skip unpatched files. */
|
||||
+ if ((qva->qva_flags & QUERY_FOR_PATCHES) && (fflags & RPMFILE_UNPATCHED))
|
||||
@@ -232,7 +232,7 @@ Index: lib/query.c
|
||||
/*@-boundswrite@*/
|
||||
if (!rpmIsVerbose() && prefix)
|
||||
te = stpcpy(te, prefix);
|
||||
@@ -362,6 +366,21 @@ void rpmDisplayQueryTags(FILE * fp)
|
||||
@@ -377,6 +381,21 @@ void rpmDisplayQueryTags(FILE * fp)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -254,7 +254,7 @@ Index: lib/query.c
|
||||
static int rpmgiShowMatches(QVA_t qva, rpmts ts)
|
||||
/*@globals rpmGlobalMacroContext, h_errno, internalState @*/
|
||||
/*@modifies qva, rpmGlobalMacroContext, h_errno, internalState @*/
|
||||
@@ -376,6 +395,8 @@ static int rpmgiShowMatches(QVA_t qva, r
|
||||
@@ -391,6 +410,8 @@ static int rpmgiShowMatches(QVA_t qva, r
|
||||
h = rpmgiHeader(gi);
|
||||
if (h == NULL) /* XXX perhaps stricter break instead? */
|
||||
continue;
|
||||
@@ -263,7 +263,7 @@ Index: lib/query.c
|
||||
if ((rc = qva->qva_showPackage(qva, ts, h)) != 0)
|
||||
ec = rc;
|
||||
if (qva->qva_source == RPMQV_DBOFFSET)
|
||||
@@ -391,6 +412,8 @@ int rpmcliShowMatches(QVA_t qva, rpmts t
|
||||
@@ -406,6 +427,8 @@ int rpmcliShowMatches(QVA_t qva, rpmts t
|
||||
|
||||
while ((h = rpmdbNextIterator(qva->qva_mi)) != NULL) {
|
||||
int rc;
|
||||
@@ -272,7 +272,7 @@ Index: lib/query.c
|
||||
if ((rc = qva->qva_showPackage(qva, ts, h)) != 0)
|
||||
ec = rc;
|
||||
if (qva->qva_source == RPMQV_DBOFFSET)
|
||||
@@ -685,7 +708,17 @@ int rpmcliArgIter(rpmts ts, QVA_t qva, A
|
||||
@@ -703,7 +726,17 @@ int rpmcliArgIter(rpmts ts, QVA_t qva, A
|
||||
|
||||
switch (qva->qva_source) {
|
||||
case RPMQV_ALL:
|
||||
@@ -367,7 +367,7 @@ Index: lib/rpminstall.c
|
||||
===================================================================
|
||||
--- lib/rpminstall.c.orig
|
||||
+++ lib/rpminstall.c
|
||||
@@ -692,6 +692,11 @@ maybe_manifest:
|
||||
@@ -683,6 +683,11 @@ maybe_manifest:
|
||||
/*@=branchstate@*/
|
||||
}
|
||||
ps = rpmpsFree(ps);
|
||||
@@ -379,7 +379,7 @@ Index: lib/rpminstall.c
|
||||
}
|
||||
|
||||
if (eiu->numRPMS && !(ia->installInterfaceFlags & INSTALL_NOORDER)) {
|
||||
@@ -797,7 +802,7 @@ int rpmErase(rpmts ts, struct rpmInstall
|
||||
@@ -789,7 +794,7 @@ int rpmErase(rpmts ts, struct rpmInstall
|
||||
{ int notifyFlags;
|
||||
notifyFlags = ia->eraseInterfaceFlags | (rpmIsVerbose() ? INSTALL_LABEL : 0 );
|
||||
xx = rpmtsSetNotifyCallback(ts,
|
||||
@@ -452,7 +452,7 @@ Index: lib/transaction.c
|
||||
===================================================================
|
||||
--- lib/transaction.c.orig
|
||||
+++ lib/transaction.c
|
||||
@@ -198,6 +198,11 @@ static int handleInstInstalledFiles(cons
|
||||
@@ -199,6 +199,11 @@ static int handleInstInstalledFiles(cons
|
||||
int rConflicts;
|
||||
|
||||
rConflicts = reportConflicts;
|
||||
@@ -464,7 +464,7 @@ Index: lib/transaction.c
|
||||
/* Resolve file conflicts to prefer Elf64 (if not forced). */
|
||||
if (tscolor != 0 && FColor != 0 && FColor != oFColor)
|
||||
{
|
||||
@@ -972,6 +977,176 @@ rpmfi rpmtsiFi(const rpmtsi tsi)
|
||||
@@ -975,6 +980,176 @@ rpmfi rpmtsiFi(const rpmtsi tsi)
|
||||
/*@=compdef =refcounttrans =usereleased @*/
|
||||
}
|
||||
|
||||
@@ -641,7 +641,7 @@ Index: lib/transaction.c
|
||||
/**
|
||||
* This is not a generalized function to be called from outside
|
||||
* librpm. It is called internally by rpmtsRun() to rollback
|
||||
@@ -2137,6 +2312,8 @@ assert(psm != NULL);
|
||||
@@ -2154,6 +2329,8 @@ assert(psm != NULL);
|
||||
}
|
||||
psm->fi = rpmfiLink(p->fi, NULL);
|
||||
|
||||
@@ -674,7 +674,7 @@ Index: doc/rpm.8
|
||||
[\fB--filesbypkg\fR] [\fB-i,--info\fR] [\fB--last\fR] [\fB-l,--list\fR]
|
||||
[\fB--provides\fR] [\fB--qf,--queryformat \fIQUERYFMT\fB\fR]
|
||||
[\fB-R,--requires\fR] [\fB--scripts\fR] [\fB-s,--state\fR]
|
||||
@@ -547,6 +549,10 @@ that will be expanded to paths that are
|
||||
@@ -547,6 +549,10 @@ that will be expanded to paths that are
|
||||
the package manifest as additional \fIPACKAGE_FILE\fR
|
||||
arguments to the query.
|
||||
.TP
|
||||
@@ -696,7 +696,7 @@ Index: doc/rpm.8
|
||||
\fB--changelog\fR
|
||||
Display change information for the package.
|
||||
.TP
|
||||
@@ -618,7 +628,8 @@ Orders the package listing by install ti
|
||||
@@ -613,7 +623,8 @@ Orders the package listing by install ti
|
||||
packages are at the top.
|
||||
.TP
|
||||
\fB-l, --list\fR
|
||||
@@ -710,7 +710,7 @@ Index: rpmpopt.in
|
||||
===================================================================
|
||||
--- rpmpopt.in.orig
|
||||
+++ rpmpopt.in
|
||||
@@ -76,6 +76,10 @@ rpm alias --supplements --qf \
|
||||
@@ -84,6 +84,10 @@ rpm alias --supplements --qf \
|
||||
"[%|ENHANCESFLAGS:depflag_strong?{%{ENHANCESNAME} %{ENHANCESFLAGS:depflags} %{ENHANCESVERSION}\n}|]" \
|
||||
--POPTdesc=$"list capabilities this package supplements"
|
||||
|
||||
@@ -721,7 +721,7 @@ Index: rpmpopt.in
|
||||
rpm alias --info --qf 'Name : %-27{NAME} Relocations: %|PREFIXES?{[%{PREFIXES} ]}:{(not relocatable)}|\n\
|
||||
Version : %-27{VERSION} Vendor: %{VENDOR}\n\
|
||||
Release : %-27{RELEASE} Build Date: %{BUILDTIME:date}\n\
|
||||
@@ -373,6 +377,10 @@ rpmq alias --supplements --qf \
|
||||
@@ -378,6 +382,10 @@ rpmq alias --supplements --qf \
|
||||
"[%|ENHANCESFLAGS:depflag_strong?{%{ENHANCESNAME} %{ENHANCESFLAGS:depflags} %{ENHANCESVERSION}\n}|]" \
|
||||
--POPTdesc=$"list capabilities this package supplements"
|
||||
|
||||
@@ -732,7 +732,7 @@ Index: rpmpopt.in
|
||||
rpmq alias --info --qf 'Name : %-27{NAME} Relocations: %|PREFIXES?{[%{PREFIXES} ]}:{(not relocatable)}|\n\
|
||||
Version : %-27{VERSION} Vendor: %{VENDOR}\n\
|
||||
Release : %-27{RELEASE} Build Date: %{BUILDTIME:date}\n\
|
||||
@@ -488,6 +496,10 @@ rpmquery alias --supplements --qf \
|
||||
@@ -496,6 +504,10 @@ rpmquery alias --supplements --qf \
|
||||
"[%|ENHANCESFLAGS:depflag_strong?{%{ENHANCESNAME} %{ENHANCESFLAGS:depflags} %{ENHANCESVERSION}\n}|]" \
|
||||
--POPTdesc=$"list capabilities this package supplements"
|
||||
|
||||
|
Reference in New Issue
Block a user