[Rpm-maint] [rpm-software-management/rpm] Add support for --oldpackage to --freshen (PR #2122)
Florian Festi
notifications at github.com
Thu Jul 14 13:44:51 UTC 2022
@ffesti commented on this pull request.
> if (name != NULL)
mi = rpmtsInitIterator(ts, RPMDBI_NAME, name, 0);
if (rpmtsColor(ts) && arch)
rpmdbSetIteratorRE(mi, RPMTAG_ARCH, RPMMIRE_DEFAULT, arch);
while ((oldH = rpmdbNextIterator(mi)) != NULL) {
+ if (allowOld)
OK, added a test for the package actually being older and a test case with the same version number to ensure nothing is printed then.
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/2122#discussion_r921172704
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/2122/review/1038895215 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20220714/e2603cdc/attachment-0001.html>
More information about the Rpm-maint
mailing list