From 886cd64b70c386aa44cb92b1c8a5806643846aa8 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Wed, 24 Feb 2021 17:10:14 +0000 Subject: [PATCH] Revert "Minor conditional tweak for ELN" Don't pull in camomile on RHEL 9. This reverts commit 4c6ebb0d2c1ab8f929855d1444f5c3d1b6885409. --- ocaml-gettext.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ocaml-gettext.spec b/ocaml-gettext.spec index de1f3c0..cebdc98 100644 --- a/ocaml-gettext.spec +++ b/ocaml-gettext.spec @@ -26,14 +26,14 @@ BuildRequires: libxslt BuildRequires: libxml2 BuildRequires: chrpath BuildRequires: autoconf -%if !0%{?rhel} || 0%{?rhel} >= 9 +%if !0%{?rhel} BuildRequires: ocaml-ounit-devel BuildRequires: ocaml-camomile-devel >= 0.8.6-3 BuildRequires: ocaml-camomile-data %endif BuildRequires: autoconf, automake -%if !0%{?rhel} || 0%{?rhel} >= 9 +%if !0%{?rhel} # ocaml-gettext program needs camomile data files Requires: ocaml-camomile-data %endif @@ -67,7 +67,7 @@ The %{name}-devel package contains libraries and signature files for developing applications that use %{name}. -%if !0%{?rhel} || 0%{?rhel} >= 9 +%if !0%{?rhel} %package camomile Summary: Parts of %{name} which depend on Camomile Requires: %{name} = %{version}-%{release} @@ -161,7 +161,7 @@ rm -rf $RPM_BUILD_ROOT/usr/doc %{_mandir}/man5/ocaml-gettext.5* -%if !0%{?rhel} || 0%{?rhel} >= 9 +%if !0%{?rhel} %files camomile %doc LICENSE.txt %{_libdir}/ocaml/gettext-camomile