From dd9c04fdd8bee18d5c544c0bacb3369495107dab Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Fri, 17 Jul 2015 14:04:17 +0100 Subject: [PATCH] s/390x: Don't strip the ocamlfind binary when building bytecode. --- ocaml-findlib.spec | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/ocaml-findlib.spec b/ocaml-findlib.spec index d6f6eef..59a41a7 100644 --- a/ocaml-findlib.spec +++ b/ocaml-findlib.spec @@ -1,8 +1,15 @@ %global opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0) +# On s/390x, ocamlfind is still built using -custom option, so it must +# not be stripped. See: +# https://fedoraproject.org/wiki/Packaging:OCaml?rd=Packaging/OCaml#Stripping_binaries +%if !%opt +%global __strip /bin/true +%endif + Name: ocaml-findlib Version: 1.5.5 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Objective CAML package manager and build helper License: BSD @@ -99,6 +106,9 @@ mv $RPM_BUILD_ROOT/$RPM_BUILD_ROOT%{_bindir}/* $RPM_BUILD_ROOT%{_bindir} %changelog +* Fri Jul 17 2015 Richard W.M. Jones - 1.5.5-5 +- s/390x: Don't strip the ocamlfind binary when building bytecode. + * Wed Jun 24 2015 Richard W.M. Jones - 1.5.5-4 - ocaml-4.02.2 final rebuild.