Specify the minimum needed libelf version

There's no need to do a build just for this.

Resolves: RHEL-16011
This commit is contained in:
Debarshi Ray 2023-11-08 20:43:37 +01:00
parent 616b2358f6
commit d96006c0f0

View File

@ -1,3 +1,4 @@
%global elf_version 0.8.12
%global glib2_version 2.44
%global ostree_version 2017.14
%global flatpak_version 0.99.1
@ -27,13 +28,14 @@ BuildRequires: pkgconfig(glib-2.0) >= %{glib2_version}
BuildRequires: pkgconfig(gobject-introspection-1.0)
BuildRequires: pkgconfig(json-glib-1.0)
BuildRequires: pkgconfig(libcurl)
BuildRequires: pkgconfig(libelf)
BuildRequires: pkgconfig(libelf) >= %{elf_version}
BuildRequires: pkgconfig(libsoup-2.4)
BuildRequires: pkgconfig(ostree-1) >= %{ostree_version}
BuildRequires: pkgconfig(yaml-0.1)
BuildRequires: /usr/bin/xmlto
BuildRequires: /usr/bin/xsltproc
Requires: elfutils-libelf%{?_isa} >= %{elf_version}
Requires: flatpak%{?_isa} >= %{flatpak_version}
Requires: glib2%{?_isa} >= %{glib2_version}
Requires: ostree-libs%{?_isa} >= %{ostree_version}