#1 Minor conditional tweak for ELN
Merged 3 years ago by rjones. Opened 3 years ago by tdawson.
rpms/ tdawson/ocaml-gettext master  into  master

file modified
+4 -4
@@ -25,14 +25,14 @@ 

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

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

  %{_mandir}/man5/ocaml-gettext.5*

  

  

- %if !0%{?rhel}

+ %if !0%{?rhel} || 0%{?rhel} >= 9

  %files camomile

  %doc LICENSE.txt

  %{_libdir}/ocaml/gettext-camomile

This minor conditional change allows the package to build in both Fedora Rawhide and ELN.

Signed-off-by: Troy Dawson tdawson@redhat.com

Pull-Request has been merged by rjones

3 years ago