Revert "Require ocaml-rpm-macros only in Fedora or RHEL >= 10"

Revert this commit as we would also have to change %ocaml_files and
lots of other places.  Instead I decided to push the Fedora 38 version
into RHEL 9.

This reverts commit edc13e85f2.
This commit is contained in:
Richard W.M. Jones 2024-04-08 15:06:57 +01:00
parent edc13e85f2
commit bc10fac053

View File

@ -3,7 +3,7 @@ ExcludeArch: %{ix86}
Name: ocaml-augeas
Version: 0.6
Release: 32%{?dist}
Release: 33%{?dist}
Summary: OCaml bindings for Augeas configuration API
License: LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception
@ -19,9 +19,7 @@ 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
@ -87,8 +85,8 @@ ocamlfind install augeas META *.mli *.cma *.a augeas.cmi *.so
%changelog
* Mon Apr 08 2024 Richard W.M. Jones <rjones@redhat.com>
- Require ocaml-rpm-macros only in Fedora or RHEL >= 10
* Mon Apr 08 2024 Richard W.M. Jones <rjones@redhat.com> - 0.6-33
- No change, just bump release.
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.6-31
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild