diff --git a/ocaml-augeas.spec b/ocaml-augeas.spec index f395586..fb66202 100644 --- a/ocaml-augeas.spec +++ b/ocaml-augeas.spec @@ -3,7 +3,7 @@ ExcludeArch: %{ix86} Name: ocaml-augeas Version: 0.6 -Release: 31%{?dist} +Release: 32%{?dist} Summary: OCaml bindings for Augeas configuration API License: LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception @@ -19,7 +19,9 @@ BuildRequires: make BuildRequires: ocaml >= 3.09.0 BuildRequires: ocaml-findlib BuildRequires: ocaml-ocamldoc +%if 0%{?fedora} || 0%{?rhel} >= 10 BuildRequires: ocaml-rpm-macros +%endif BuildRequires: augeas-devel >= 0.1.0 @@ -85,6 +87,9 @@ ocamlfind install augeas META *.mli *.cma *.a augeas.cmi *.so %changelog +* Mon Apr 08 2024 Richard W.M. Jones +- Require ocaml-rpm-macros only in Fedora or RHEL >= 10 + * Thu Jan 25 2024 Fedora Release Engineering - 0.6-31 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild