Revert "Minor conditional tweak for ELN"

Don't pull in camomile on RHEL 9.

This reverts commit 4c6ebb0d2c.
This commit is contained in:
Richard W.M. Jones 2021-02-24 17:10:14 +00:00
parent 62f14e30bb
commit 886cd64b70

View File

@ -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