From a600c62f29262d71a6259b70dc220df65a2ab9b5 Mon Sep 17 00:00:00 2001 From: Jan Kolarik Date: Wed, 14 Jun 2023 08:03:12 +0000 Subject: [PATCH] Don't use libdnf5 as a dependency We need to restrict the version of `libdnf` dependency to not use the `libdnf >= 5.0.0` with different API. Unfortunately, the `dnf5` package providing such a `libdnf` was already released, so it is not enough just to change the provide in the `dnf5` package. --- microdnf.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/microdnf.spec b/microdnf.spec index dc3ad8e..4789fa2 100644 --- a/microdnf.spec +++ b/microdnf.spec @@ -2,7 +2,7 @@ Name: microdnf Version: 3.10.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Lightweight implementation of DNF in C License: GPL-2.0-or-later @@ -14,7 +14,7 @@ BuildRequires: meson >= 0.36.0 BuildRequires: pkgconfig(glib-2.0) >= 2.44.0 BuildRequires: pkgconfig(gobject-2.0) >= 2.44.0 BuildRequires: pkgconfig(libpeas-1.0) >= 1.20.0 -BuildRequires: pkgconfig(libdnf) >= %{libdnf_version} +BuildRequires: (pkgconfig(libdnf) >= %{libdnf_version} with pkgconfig(libdnf) < 5) BuildRequires: pkgconfig(smartcols) BuildRequires: help2man