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