commit db89d725a20da1bb532374c59a037d6b73dd2672
Author: Jakub Bogusz <[email protected]>
Date:   Sat Jan 29 21:02:08 2022 +0100

    - disable debug packages when building without ocaml_opt

 ocaml-ounit.spec | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/ocaml-ounit.spec b/ocaml-ounit.spec
index e623345..3c4c3ae 100644
--- a/ocaml-ounit.spec
+++ b/ocaml-ounit.spec
@@ -26,6 +26,10 @@ BuildRequires:       ocaml-lwt-devel
 %requires_eq   ocaml
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%if %{without ocaml_opt}
+%define                _enable_debug_packages  0
+%endif
+
 %description
 OUnit is a unit testing framework for OCaml, inspired by the JUnit
 tool for Java, and the HUnit tool for Haskell.
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ocaml-ounit.git/commitdiff/db89d725a20da1bb532374c59a037d6b73dd2672

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to