diff --git a/labltk.spec b/labltk.spec index 7776c73325202809784b301b57e3ddd7ec054ca3..4d832211d3cbe3398a642fa61df8003fa9168773 100644 --- a/labltk.spec +++ b/labltk.spec @@ -1,11 +1,11 @@ -%ifarch %{ocaml_native_compiler} +%ifnarch sw_64 %global native_compiler 1 %else %global native_compiler 0 %endif Name: ocaml-labltk Version: 8.06.13 -Release: 1 +Release: 2 Summary: Tcl/Tk interface for OCaml License: LGPLv2+ with exceptions URL: https://github.com/garrigue/labltk @@ -44,12 +44,12 @@ echo -e 'all:\ninstall:\n' > browser/Makefile %build ./configure -verbose unset MAKEFLAGS -%if !%{native_compiler} -make byte -%else +%if %{native_compiler} make all opt \ SHAREDCCCOMPOPTS="%{optflags} -fPIC" \ TK_LINK="%{__global_ldflags} -ltk8.6 -ltcl8.6" +%else +make byte %endif %install @@ -90,6 +90,9 @@ install -m 0644 camltk/*.o $RPM_BUILD_ROOT%{_libdir}/ocaml/labltk %{_libdir}/ocaml/labltk/*.mli %changelog +* Tue Feb 25 2025 zhangshaoning - 8.06.13-2 +- Add sw_64 support + * Mon May 15 2023 liyanan - 8.06.13-1 - update version to 8.06.13