1
0
forked from pool/ocaml-findlib
Olaf Hering 2016-05-30 04:36:41 +00:00 committed by Git OBS Bridge
parent 33b8a8e0b6
commit 16726a2f86

View File

@ -38,20 +38,6 @@ Requires: ocaml-runtime
# ocaml autodep end for pkg: ocaml-findlib
Provides: ocamlfind = %{version}
Provides: ocamlfind(bigarray)
Provides: ocamlfind(bytes)
Provides: ocamlfind(camlp4)
Provides: ocamlfind(compiler-libs)
Provides: ocamlfind(dynlink)
Provides: ocamlfind(findlib)
Provides: ocamlfind(graphics)
Provides: ocamlfind(num)
Provides: ocamlfind(num-top)
Provides: ocamlfind(ocamldoc)
Provides: ocamlfind(stdlib)
Provides: ocamlfind(str)
Provides: ocamlfind(threads)
Provides: ocamlfind(unix)
BuildRequires: gawk
BuildRequires: m4
@ -87,7 +73,6 @@ for developing applications that use ocaml-findlib.
%build
(cd tools/extract_args && make)
tools/extract_args/extract_args -o src/findlib/ocaml_args.ml ocamlc ocamlcp ocamlmktop ocamlopt ocamldep ocamldoc ||:
#cat src/findlib/ocaml_args.ml
./configure -config %{_sysconfdir}/ocamlfind.conf \
-bindir %{_bindir} \
-sitelib `ocamlc -where` \
@ -116,7 +101,6 @@ rm -rfv $RPM_BUILD_ROOT%{_libdir}/ocaml/ocamlbuild
%{_libdir}/ocaml/*/*.cma
%{_libdir}/ocaml/*/*.cmi
%if %{ocaml_native_compiler}
#{_libdir}/ocaml/*/*.cmx
%{_libdir}/ocaml/*/*.cmxs
%endif
@ -129,9 +113,7 @@ rm -rfv $RPM_BUILD_ROOT%{_libdir}/ocaml/ocamlbuild
%if %{ocaml_native_compiler}
%{_libdir}/ocaml/*/*.a
%{_libdir}/ocaml/*/*.cmxa
#{_libdir}/ocaml/*/*.o
%endif
#{_libdir}/ocaml/*/*.cmo
%{_libdir}/ocaml/*/*.mli
%changelog