[packages/ocaml] - fix files for non-opt build

baggins baggins at pld-linux.org
Sun Nov 21 10:44:19 CET 2021


commit 38c33a4c15fd8e6e505535c73797dfa96e94ed25
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun Nov 21 10:44:07 2021 +0100

    - fix files for non-opt build

 ocaml.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/ocaml.spec b/ocaml.spec
index c7557c0..980539d 100644
--- a/ocaml.spec
+++ b/ocaml.spec
@@ -277,13 +277,13 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/%{name}/caml
 %dir %{_libdir}/%{name}/compiler-libs
 %{_libdir}/%{name}/compiler-libs/*.cm*
-%{_libdir}/%{name}/compiler-libs/ocaml*.a
+%{?with_ocaml_opt:%{_libdir}/%{name}/compiler-libs/ocaml*.a}
 %{?with_ocaml_opt:%{_libdir}/%{name}/compiler-libs/*.o}
 %dir %{_libdir}/%{name}/ocamldoc
 %{_libdir}/%{name}/ocamldoc/*.hva
 %dir %{_libdir}/%{name}/threads
 %{_libdir}/%{name}/threads/*.cm*
-%{_libdir}/%{name}/threads/threads.a
+%{?with_ocaml_opt:%{_libdir}/%{name}/threads/threads.a}
 %{_libdir}/%{name}/*.a
 %{?with_ocaml_opt:%{_libdir}/%{name}/*.o}
 %{_libdir}/%{name}/*.cm*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ocaml.git/commitdiff/38c33a4c15fd8e6e505535c73797dfa96e94ed25



More information about the pld-cvs-commit mailing list