Simplify by dropping Fedora and RHEL < 9 conditionals

The spec has already diverged from Fedora in the previous commit, and
it seems like it's easier to diverge than maintain an unified spec.

Resolves: #1913641
This commit is contained in:
Debarshi Ray 2021-04-23 03:11:07 +02:00
parent 666c064fb1
commit eb3274bd9b

View File

@ -51,19 +51,9 @@ BuildRequires: pkgconfig(libjpeg)
BuildRequires: pkgconfig(tracker-sparql-3.0)
Requires: baobab
%if 0%{?fedora} || 0%{?rhel} < 9
Requires: dleyna-renderer
%endif
Requires: gdk-pixbuf2%{?isa} >= %{gdk_pixbuf_version}
Requires: gegl04%{?_isa} >= %{gegl_version}
Requires: glib2%{?isa} >= %{glib2_version}
%if 0%{?fedora} || 0%{?rhel} < 9
Requires: gnome-online-miners >= 3.11.3
%endif
Requires: gnome-settings-daemon
Requires: gtk3%{?_isa} >= %{gtk3_version}
Requires: libdazzle%{?isa} >= %{dazzle_version}
@ -87,10 +77,6 @@ Online Accounts.
%package tests
Summary: Tests for %{name}
%if 0%{?fedora} || 0%{?rhel} < 9
Requires: python3-dogtail
%endif
%description tests
This package contains the installable tests for %{name}.
@ -102,11 +88,7 @@ This package contains the installable tests for %{name}.
%build
%meson \
--buildtype=plain \
%if 0%{?fedora} || 0%{?rhel} < 9
-Ddogtail=true \
%else
-Ddogtail=false \
%endif
%if 0%{?flatpak}
-Dflatpak=true \
%else