From 2d63c5071ae2bc4dd863f680f9e18ebd85f5eb90 Mon Sep 17 00:00:00 2001 From: Peter Georg Date: Dec 10 2021 09:57:41 +0000 Subject: Enable Recommends for EL These conditions have originally been added in 84ec716dcea0e72f4ea57771331f9c4fa1a7a40a as EL7 does not support "Recommends". By now there are other Recommends in the spec file that'd need conditions to work for EL7. In addition there are other features used by now not supported in EL7, e.g. RemovePathPostfixes. Hence it is probably best to drop these two conditions instead of adding many more similar conditions with very little use. Especially as EL7 is already in Maintenance Support 2 Phase. --- diff --git a/i3.spec b/i3.spec index a90ed1f..7c62683 100644 --- a/i3.spec +++ b/i3.spec @@ -108,7 +108,7 @@ Please be aware that i3 is primarily targeted at advanced users and developers. Summary: Upstream configuration for %{name} BuildArch: noarch Requires: %{name} = %{version}-%{release} -%{!?rhel:Recommends: rxvt-unicode} +Recommends: rxvt-unicode Conflicts: %{name}-config-fedora %description config @@ -119,7 +119,7 @@ RemovePathPostfixes: .fedora Summary: Configuration of %{name} for the Fedora i3 Spin BuildArch: noarch Requires: %{name} = %{version}-%{release} -%{!?rhel:Recommends: xfce4-terminal} +Recommends: xfce4-terminal # the Fedora branded config file uses xdg-user-dirs-update Recommends: xdg-user-dirs Conflicts: %{name}-config