From c36402eaaf5b528d36f4a8a63574eab09664e26a Mon Sep 17 00:00:00 2001 From: Martin Styk Date: Thu, 22 Aug 2024 09:08:43 +0200 Subject: [PATCH] Lock pkgconf package for F40 Upstream issue to resolve issue with pkgconfig https://bugzilla.redhat.com/show_bug.cgi?id=2307038. Signed-off-by: Martin Styk --- restraint.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/restraint.spec b/restraint.spec index 13c4c33..a595bdc 100644 --- a/restraint.spec +++ b/restraint.spec @@ -45,6 +45,11 @@ Source116: m4-1.4.19.tar.xz BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) BuildRequires: gcc BuildRequires: gcc-c++ +# https://bugzilla.redhat.com/show_bug.cgi?id=2307038 +%if 0%{?fedora} == 40 +BuildRequires: pkgconf < 2.1.1 +BuildRequires: pkgconf-pkg-config < 2.1.1 +%endif BuildRequires: pkgconfig BuildRequires: gettext BuildRequires: perl-XML-Parser