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

This commit is contained in:
Richard W.M. Jones 2024-04-08 14:57:55 +01:00
parent 3318d56ff7
commit edc13e85f2

View File

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