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
This commit is contained in:
parent
abfbcaba98
commit
4c6ebb0d2c
@ -25,14 +25,14 @@ BuildRequires: libxslt
|
|||||||
BuildRequires: libxml2
|
BuildRequires: libxml2
|
||||||
BuildRequires: chrpath
|
BuildRequires: chrpath
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
%if !0%{?rhel}
|
%if !0%{?rhel} || 0%{?rhel} >= 9
|
||||||
BuildRequires: ocaml-ounit-devel
|
BuildRequires: ocaml-ounit-devel
|
||||||
BuildRequires: ocaml-camomile-devel >= 0.8.6-3
|
BuildRequires: ocaml-camomile-devel >= 0.8.6-3
|
||||||
BuildRequires: ocaml-camomile-data
|
BuildRequires: ocaml-camomile-data
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: autoconf, automake
|
BuildRequires: autoconf, automake
|
||||||
|
|
||||||
%if !0%{?rhel}
|
%if !0%{?rhel} || 0%{?rhel} >= 9
|
||||||
# ocaml-gettext program needs camomile data files
|
# ocaml-gettext program needs camomile data files
|
||||||
Requires: ocaml-camomile-data
|
Requires: ocaml-camomile-data
|
||||||
%endif
|
%endif
|
||||||
@ -66,7 +66,7 @@ The %{name}-devel package contains libraries and signature files for
|
|||||||
developing applications that use %{name}.
|
developing applications that use %{name}.
|
||||||
|
|
||||||
|
|
||||||
%if !0%{?rhel}
|
%if !0%{?rhel} || 0%{?rhel} >= 9
|
||||||
%package camomile
|
%package camomile
|
||||||
Summary: Parts of %{name} which depend on Camomile
|
Summary: Parts of %{name} which depend on Camomile
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
@ -160,7 +160,7 @@ rm -rf $RPM_BUILD_ROOT/usr/doc
|
|||||||
%{_mandir}/man5/ocaml-gettext.5*
|
%{_mandir}/man5/ocaml-gettext.5*
|
||||||
|
|
||||||
|
|
||||||
%if !0%{?rhel}
|
%if !0%{?rhel} || 0%{?rhel} >= 9
|
||||||
%files camomile
|
%files camomile
|
||||||
%doc LICENSE.txt
|
%doc LICENSE.txt
|
||||||
%{_libdir}/ocaml/gettext-camomile
|
%{_libdir}/ocaml/gettext-camomile
|
||||||
|
Loading…
Reference in New Issue
Block a user