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)