From fce89b25d4c02f0d4c48460b8f5fd07757b63603 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E5=B0=91=E5=AE=81?= Date: Tue, 25 Feb 2025 03:19:53 +0000 Subject: [PATCH] Add sw_64 support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 张少宁 --- ocaml-findlib.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/ocaml-findlib.spec b/ocaml-findlib.spec index 4d7e1af..8972378 100644 --- a/ocaml-findlib.spec +++ b/ocaml-findlib.spec @@ -1,6 +1,10 @@ +%ifarch sw_64 +%global debug_package %{nil} +%define __os_install_post %{nil} +%endif Name: ocaml-findlib Version: 1.9.6 -Release: 1 +Release: 2 Summary: OCaml library manager License: MIT URL: http://projects.camlcity.org/projects/findlib.html @@ -41,7 +45,9 @@ tools/extract_args/extract_args -o src/findlib/ocaml_args.ml ocamlc ocamlcp ocam ./configure -config %{_sysconfdir}/ocamlfind.conf -bindir %{_bindir} -mandir %{_mandir}\ -sitelib `ocamlc -where` -with-toolbox make all +%ifnarch sw_64 make opt +%endif rm -f doc/guide-html/TIMESTAMP %install @@ -69,6 +75,9 @@ make install prefix=$RPM_BUILD_ROOT OCAMLFIND_BIN=%{_bindir} OCAMLFIND_MAN=%{ %{_mandir}/man{1,5}/* %changelog +* Tue Feb 25 2025 zhangshaoning - 1.9.6-2 +- Add sw_64 support + * Wed Sep 20 2023 liyanan - 1.9.6-1 - update to 1.9.6