s/390x: Don't strip the ocamlfind binary when building bytecode.

This commit is contained in:
Richard W.M. Jones 2015-07-17 14:04:17 +01:00
parent edf7d09004
commit dd9c04fdd8

View File

@ -1,8 +1,15 @@
%global opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0) %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 Name: ocaml-findlib
Version: 1.5.5 Version: 1.5.5
Release: 4%{?dist} Release: 5%{?dist}
Summary: Objective CAML package manager and build helper Summary: Objective CAML package manager and build helper
License: BSD License: BSD
@ -99,6 +106,9 @@ mv $RPM_BUILD_ROOT/$RPM_BUILD_ROOT%{_bindir}/* $RPM_BUILD_ROOT%{_bindir}
%changelog %changelog
* Fri Jul 17 2015 Richard W.M. Jones <rjones@redhat.com> - 1.5.5-5
- s/390x: Don't strip the ocamlfind binary when building bytecode.
* Wed Jun 24 2015 Richard W.M. Jones <rjones@redhat.com> - 1.5.5-4 * Wed Jun 24 2015 Richard W.M. Jones <rjones@redhat.com> - 1.5.5-4
- ocaml-4.02.2 final rebuild. - ocaml-4.02.2 final rebuild.