]> git.pld-linux.org Git - packages/ocaml-ounit.git/commitdiff
- disable debug packages when building without ocaml_opt master auto/th/ocaml-ounit-2.2.4-1
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 29 Jan 2022 20:02:08 +0000 (21:02 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Sat, 29 Jan 2022 20:02:08 +0000 (21:02 +0100)
ocaml-ounit.spec

index e623345cbcd1440b4a4935b8feaa62b8e51992c9..3c4c3ae95f9dcd9c9d933aff0be1f9b584767a83 100644 (file)
@@ -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.
This page took 0.091384 seconds and 4 git commands to generate.