Add sw_64 support
Signed-off-by: 张少宁 <zhangshaoning@uniontech.com>
This commit is contained in:
parent
8fd5ae68d7
commit
fce89b25d4
@ -1,6 +1,10 @@
|
|||||||
|
%ifarch sw_64
|
||||||
|
%global debug_package %{nil}
|
||||||
|
%define __os_install_post %{nil}
|
||||||
|
%endif
|
||||||
Name: ocaml-findlib
|
Name: ocaml-findlib
|
||||||
Version: 1.9.6
|
Version: 1.9.6
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: OCaml library manager
|
Summary: OCaml library manager
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: http://projects.camlcity.org/projects/findlib.html
|
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}\
|
./configure -config %{_sysconfdir}/ocamlfind.conf -bindir %{_bindir} -mandir %{_mandir}\
|
||||||
-sitelib `ocamlc -where` -with-toolbox
|
-sitelib `ocamlc -where` -with-toolbox
|
||||||
make all
|
make all
|
||||||
|
%ifnarch sw_64
|
||||||
make opt
|
make opt
|
||||||
|
%endif
|
||||||
rm -f doc/guide-html/TIMESTAMP
|
rm -f doc/guide-html/TIMESTAMP
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -69,6 +75,9 @@ make install prefix=$RPM_BUILD_ROOT OCAMLFIND_BIN=%{_bindir} OCAMLFIND_MAN=%{
|
|||||||
%{_mandir}/man{1,5}/*
|
%{_mandir}/man{1,5}/*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed Sep 20 2023 liyanan <thistleslyn@163.com> - 1.9.6-1
|
||||||
- update to 1.9.6
|
- update to 1.9.6
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user