[packages/ocaml-ocamlbuild] - disable debug packages when not buildding native version - rel 2

baggins baggins at pld-linux.org
Thu Mar 18 08:36:56 CET 2021


commit 26b7be8b1ca5ddb5eb441e299103c34695653267
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Thu Mar 18 08:36:28 2021 +0100

    - disable debug packages when not buildding native version
    - rel 2

 ocaml-ocamlbuild.spec | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/ocaml-ocamlbuild.spec b/ocaml-ocamlbuild.spec
index cd395c3..2f5bf11 100644
--- a/ocaml-ocamlbuild.spec
+++ b/ocaml-ocamlbuild.spec
@@ -7,12 +7,16 @@
 %undefine	with_ocaml_opt
 %endif
 
+%if %{without ocaml_opt}
+%define		_enable_debug_packages	0
+%endif
+
 %define		module	ocamlbuild
 Summary:	Build tool for OCaml libraries and programs
 Summary(pl.UTF-8):	Narzędzie do budowania bibliotek i programów napisanych w OCamlu
 Name:		ocaml-%{module}
 Version:	0.14.0
-Release:	1
+Release:	2
 License:	LGPL v2+ with exceptions
 Group:		Development/Languages
 Source0:	https://github.com/ocaml/ocamlbuild/archive/%{version}/%{module}-%{version}.tar.gz
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ocaml-ocamlbuild.git/commitdiff/26b7be8b1ca5ddb5eb441e299103c34695653267



More information about the pld-cvs-commit mailing list