From 98aa50df3f47ad99514f6d8e149a1f6fece2e82597b16526f6111da85da36f27 Mon Sep 17 00:00:00 2001 From: Marcus Rueckert Date: Wed, 21 Dec 2022 13:29:08 +0000 Subject: [PATCH] properly guard jxl OBS-URL: https://build.opensuse.org/package/show/graphics:darktable/darktable?expand=0&rev=50 --- darktable.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/darktable.spec b/darktable.spec index ec2a85b..6f1295b 100644 --- a/darktable.spec +++ b/darktable.spec @@ -47,13 +47,17 @@ %endif %if 0%{?suse_version} >= 1550 || 0%{?fedora} -%bcond_without jxl %bcond_without avif %else -%bcond_with jxl %bcond_with avif %endif +%if 0%{?suse_version} >= 1550 || 0%{?fedora} >= 37 +%bcond_without jxl +%else +%bcond_with jxl +%endif + %if 0%{?suse_version} >= 1550 %bcond_without gmic %else