From f2b1f2038bade4e44051522ef9788f22cc241a97 Mon Sep 17 00:00:00 2001 From: Luca BRUNO Date: Wed, 26 May 2021 10:14:13 +0000 Subject: [PATCH] packaging/spec: require rpm >= 4.16.0 This adds a minimum required version on rpm-devel >= 4.16.0. rpm-ostree uses the new comparison APIs from 'rpmver.h', which did not exist on previous versions. --- packaging/rpm-ostree.spec.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packaging/rpm-ostree.spec.in b/packaging/rpm-ostree.spec.in index 75f01a31..b75b6dd9 100644 --- a/packaging/rpm-ostree.spec.in +++ b/packaging/rpm-ostree.spec.in @@ -52,7 +52,7 @@ BuildRequires: /usr/bin/g-ir-scanner BuildRequires: pkgconfig(ostree-1) >= 2020.7 BuildRequires: pkgconfig(polkit-gobject-1) BuildRequires: pkgconfig(json-glib-1.0) -BuildRequires: pkgconfig(rpm) +BuildRequires: pkgconfig(rpm) >= 4.16.0 BuildRequires: pkgconfig(libarchive) BuildRequires: pkgconfig(libsystemd) BuildRequires: libcap-devel