[projects/template-specs] - disable debug packages when not buildding native version

baggins baggins at pld-linux.org
Thu Mar 18 08:37:49 CET 2021


commit 87cbd86e3e914e441690dd46cc5f1e5be79d9dd0
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Thu Mar 18 08:37:35 2021 +0100

    - disable debug packages when not buildding native version

 ocaml.spec | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/ocaml.spec b/ocaml.spec
index 41a410f..1f338eb 100644
--- a/ocaml.spec
+++ b/ocaml.spec
@@ -7,6 +7,10 @@
 %undefine	with_ocaml_opt
 %endif
 
+%if %{without ocaml_opt}
+%define		_enable_debug_packages	0
+%endif
+
 %define		module	%{module}
 Summary:	%{module} binding for OCaml
 Summary(pl.UTF-8):	Wiązania %{module} dla OCamla
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/projects/template-specs.git/commitdiff/87cbd86e3e914e441690dd46cc5f1e5be79d9dd0



More information about the pld-cvs-commit mailing list