Fix the babl dependency on Fedora < 39

[skip changelog]

Signed-off-by: Nils Philippsen <nils@tiptoe.de>
This commit is contained in:
Nils Philippsen 2023-11-11 13:58:29 +01:00
parent 5280563896
commit a9e77856bb

View File

@ -51,7 +51,11 @@ BuildRequires: make
BuildRequires: perl >= 5.10.0
BuildRequires: pkgconfig(alsa) >= 1.0.0
BuildRequires: pkgconfig(atk) >= 2.2.0
%if ! 0%{?fedora} || 0%{?fedora} >= 39
BuildRequires: pkgconfig(babl-0.1) >= 0.1.74
%else
BuildRequires: pkgconfig(babl) >= 0.1.74
%endif
BuildRequires: pkgconfig(bzip2)
BuildRequires: pkgconfig(cairo) >= 1.12.2
BuildRequires: pkgconfig(fontconfig) >= 2.12.4