- fix: Provides: /path did not work with added packages (#52183).

- fix: progress bar scaling did not include source rpm count.

CVS patchset: 5038
CVS date: 2001/08/31 14:02:13
This commit is contained in:
jbj 2001-08-31 14:02:13 +00:00
parent 46713343fb
commit 2b23209fce
3 changed files with 4 additions and 5 deletions

View File

@ -227,6 +227,8 @@
- python: retrofit sha1 digest using RPMTAG_SHA1RHN.
- python: change rhnUnload bindings.
- python: teach rhnLoad about RPMTAG_SHA1RHN as well.
- fix: Provides: /path did not work with added packages (#52183).
- fix: progress bar scaling did not include source rpm count.
4.0 -> 4.0.[12]
- add doxygen and lclint annotations most everywhere.

View File

@ -1061,7 +1061,6 @@ alFileSatisfiesDepend(const availableList al,
/**
* Check added package file lists for package(s) that have a provide.
* @todo Provides: /path is broken with added packages.
* @param al available list
* @param keyType type of dependency
* @param keyDepend dependency string representation
@ -1082,11 +1081,9 @@ alAllSatisfiesDepend(const availableList al,
if (*keyName == '/') {
ret = alAllFileSatisfiesDepend(al, keyType, keyName);
#ifdef BUGZILLA_52183 /* XXX Provides: /path is broken with added packages. */
/* XXX Provides: /path was broken with added packages (#52183). */
if (ret != NULL && *ret != NULL)
#endif
return ret;
}
if (!al->index.size || al->index.index == NULL) return NULL;

View File

@ -511,7 +511,7 @@ restart:
rpmProblemSet probs = NULL;
#ifdef FANCY_HASH
packagesTotal = numRPMS;
packagesTotal = numRPMS + numSRPMS;
#endif
rpmMessage(RPMMESS_DEBUG, _("installing binary packages\n"));
rc = rpmRunTransactions(ts, rpmShowProgress,