From eb3274bd9b0d4fd6a9ba7d99e19e521eb9c11d7a Mon Sep 17 00:00:00 2001 From: Debarshi Ray Date: Fri, 23 Apr 2021 03:11:07 +0200 Subject: [PATCH] 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 --- gnome-photos.spec | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/gnome-photos.spec b/gnome-photos.spec index 15785fd..8dfb2dd 100644 --- a/gnome-photos.spec +++ b/gnome-photos.spec @@ -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