diff --git a/macros.ocaml-srpm b/macros.ocaml-srpm index 86f486a..e7a0498 100644 --- a/macros.ocaml-srpm +++ b/macros.ocaml-srpm @@ -4,10 +4,10 @@ # compilation is available on a particular architecture. # Architectures that support the OCaml native code compiler. -%ocaml_native_compiler aarch64 riscv64 s390x x86_64 +%ocaml_native_compiler aarch64 %{power64} riscv64 s390x x86_64 # Architectures that support native dynamic linking of OCaml code. -%ocaml_natdynlink aarch64 riscv64 s390x x86_64 +%ocaml_natdynlink aarch64 %{power64} riscv64 s390x x86_64 # Architectures that support profiling of native code (ocamlopt -p). # This was removed in OCaml 4.09. diff --git a/ocaml-srpm-macros.spec b/ocaml-srpm-macros.spec index ed2c10c..b5a9c2a 100644 --- a/ocaml-srpm-macros.spec +++ b/ocaml-srpm-macros.spec @@ -9,8 +9,8 @@ # See also: https://bugzilla.redhat.com/show_bug.cgi?id=1087794 Name: ocaml-srpm-macros -Version: 9 -Release: 3%{?dist} +Version: 10 +Release: 1%{?dist} Summary: OCaml architecture macros License: GPL-2.0-or-later @@ -35,7 +35,7 @@ SRPMS. It does not pull in any other OCaml dependencies. %install mkdir -p $RPM_BUILD_ROOT%{rpmmacrodir} -install -m 0644 %{SOURCE0} $RPM_BUILD_ROOT%{rpmmacrodir}/macros.ocaml-srpm +install -p -m 0644 %{SOURCE0} $RPM_BUILD_ROOT%{rpmmacrodir}/macros.ocaml-srpm %files @@ -43,6 +43,9 @@ install -m 0644 %{SOURCE0} $RPM_BUILD_ROOT%{rpmmacrodir}/macros.ocaml-srpm %changelog +* Thu May 23 2024 Jerry James - 10-1 +- Update OCaml native arches for OCaml 5.2 + * Thu Jan 25 2024 Fedora Release Engineering - 9-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild