[packages/ocaml-idl] - dllcom.so doesn't seem to be required; lib is named camlidl now
qboosh
qboosh at pld-linux.org
Tue Dec 28 19:44:02 CET 2021
commit 4f5d5a8432b4f401fac605089b1ed1b704ced68e
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Tue Dec 28 19:44:34 2021 +0100
- dllcom.so doesn't seem to be required; lib is named camlidl now
ocaml-idl.spec | 7 -------
1 file changed, 7 deletions(-)
---
diff --git a/ocaml-idl.spec b/ocaml-idl.spec
index 78c009a..9bf9eaf 100644
--- a/ocaml-idl.spec
+++ b/ocaml-idl.spec
@@ -104,9 +104,6 @@ ln -s Makefile.unix config/Makefile
CPP="%{__cc} -E -x c" \
CFLAGS="%{rpmcflags} -fPIC"
-# create dllcom.so (is it still required?)
-ocamlmklib -o com lib/*.cm[xo] runtime/*.o
-
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/ocaml/{stublibs,idl},%{_includedir}/caml}
@@ -122,9 +119,6 @@ ln -sf ../../include/caml $RPM_BUILD_ROOT%{_libdir}/ocaml/caml
# fix install to subdir
%{__mv} $RPM_BUILD_ROOT%{_libdir}/ocaml/{*.{cm[ix],cma,a%{?with_ocaml_opt:,cmxa}},idl}
-install -d $RPM_BUILD_ROOT%{_libdir}/ocaml/stublibs
-install -p dll*.so $RPM_BUILD_ROOT%{_libdir}/ocaml/stublibs
-
install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
cp -a tests/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
# remove Windows examples
@@ -153,7 +147,6 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/ocaml/idl/META
%{_libdir}/ocaml/idl/com.cma
%attr(755,root,root) %{_libdir}/ocaml/stublibs/dllcamlidl.so
-%attr(755,root,root) %{_libdir}/ocaml/stublibs/dllcom.so
%files devel
%defattr(644,root,root,755)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ocaml-idl.git/commitdiff/4f5d5a8432b4f401fac605089b1ed1b704ced68e
More information about the pld-cvs-commit
mailing list