!10 【轻量级 PR】:Add sw_64 support

From: @zhangshaoning_uniontech 
Reviewed-by: @wk333 
Signed-off-by: @wk333
This commit is contained in:
openeuler-ci-bot 2025-03-06 06:25:31 +00:00 committed by Gitee
commit fc989d47d5
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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 <zhangshaoning@uniontech.com> - 1.9.6-2
- Add sw_64 support
* Wed Sep 20 2023 liyanan <thistleslyn@163.com> - 1.9.6-1
- update to 1.9.6