From ef06bfdce653d65c8820167890125b08718d3c4eabe2f8f28e7fcd24d2799134 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Mon, 8 Feb 2021 08:29:25 +0000 Subject: [PATCH] Fix pugixml on Fedora 31 OBS-URL: https://build.opensuse.org/package/show/graphics:darktable/darktable?expand=0&rev=20 --- darktable.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/darktable.spec b/darktable.spec index e1b7c93..9f24d66 100644 --- a/darktable.spec +++ b/darktable.spec @@ -140,7 +140,11 @@ BuildRequires: pkgconfig(libtiff-4) BuildRequires: pkgconfig(libxml-2.0) # BuildRequires: pkgconfig(lua) +%if 0%{?fedora_version} == 31 +BuildRequires: pugixml-devel +%else BuildRequires: pkgconfig(pugixml) +%endif # BuildRequires: pkgconfig BuildRequires: pkgconfig(GraphicsMagick)