From 4c6ebb0d2c1ab8f929855d1444f5c3d1b6885409 Mon Sep 17 00:00:00 2001 From: Troy Dawson Date: Jul 14 2020 13:38:48 +0000 Subject: Minor conditional tweak for ELN This minor conditional change allows the package to build in both Fedora Rawhide and ELN. Signed-off-by: Troy Dawson tdawson@redhat.com --- diff --git a/ocaml-gettext.spec b/ocaml-gettext.spec index a43c42a..eaa5d4a 100644 --- a/ocaml-gettext.spec +++ b/ocaml-gettext.spec @@ -25,14 +25,14 @@ BuildRequires: libxslt BuildRequires: libxml2 BuildRequires: chrpath BuildRequires: autoconf -%if !0%{?rhel} +%if !0%{?rhel} || 0%{?rhel} >= 9 BuildRequires: ocaml-ounit-devel BuildRequires: ocaml-camomile-devel >= 0.8.6-3 BuildRequires: ocaml-camomile-data %endif BuildRequires: autoconf, automake -%if !0%{?rhel} +%if !0%{?rhel} || 0%{?rhel} >= 9 # ocaml-gettext program needs camomile data files Requires: ocaml-camomile-data %endif @@ -66,7 +66,7 @@ The %{name}-devel package contains libraries and signature files for developing applications that use %{name}. -%if !0%{?rhel} +%if !0%{?rhel} || 0%{?rhel} >= 9 %package camomile Summary: Parts of %{name} which depend on Camomile Requires: %{name} = %{version}-%{release} @@ -160,7 +160,7 @@ rm -rf $RPM_BUILD_ROOT/usr/doc %{_mandir}/man5/ocaml-gettext.5* -%if !0%{?rhel} +%if !0%{?rhel} || 0%{?rhel} >= 9 %files camomile %doc LICENSE.txt %{_libdir}/ocaml/gettext-camomile