From b8b24207baa3e6eceba5c24bf9b60e207c3bcb68 Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Jul 30 2019 16:13:37 +0000 Subject: rpmbuild: make sure librepo/libdnf is always up2date Librepo/libdnf is clearly part of the dnf/rpm family, so if we expect that builders have the latest packaging stack -- we should take care of those two (new) packages as well. This commit is triggered by the need to update librepo/libdnf from the bodhi update [1], which should solve major problems with downloading mirrorlists, metalinks but individual RPMs as well. For more info see [2, 3]. [1] https://bodhi.fedoraproject.org/updates/FEDORA-2019-13479b151a [2] https://pagure.io/fedora-infrastructure/issue/7987 [3] https://github.com/rpm-software-management/librepo/pull/159 --- diff --git a/rpmbuild/copr-rpmbuild.spec b/rpmbuild/copr-rpmbuild.spec index 72e4ab7..196e2d8 100644 --- a/rpmbuild/copr-rpmbuild.spec +++ b/rpmbuild/copr-rpmbuild.spec @@ -121,6 +121,8 @@ Requires: yum-utils %if 0%{?fedora} %latest_requires dnf %latest_requires dnf-plugins-core +%latest_requires libdnf +%latest_requires librepo %endif %latest_requires mock %latest_requires mock-core-configs