diff --git a/ocaml-omake.spec b/ocaml-omake.spec index 96b3174..de32e55 100644 --- a/ocaml-omake.spec +++ b/ocaml-omake.spec @@ -1,14 +1,18 @@ +%global opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0) +%if !%opt +%global debug_package %{nil} +%define __strip /bin/true +%endif + Name: ocaml-omake Version: 0.9.8.6 -Release: 0.rc1%{?dist}.18 +Release: 0.rc1%{?dist}.19 Summary: Build system with automated dependency analysis License: LGPLv2+ with exceptions and GPLv2+ and BSD URL: http://omake.metaprl.org/download.html Source0: http://omake.metaprl.org/downloads/omake-%{version}-0.rc1.tar.gz -ExcludeArch: sparc64 s390 s390x - Patch0: omake-debian-disable-ocaml-warnings.patch Patch1: omake-0.9.8.6-fix-and-or-operators.patch Patch2: omake-0.9.8.6-kill-warn-error.patch @@ -77,6 +81,9 @@ chmod 0755 $RPM_BUILD_ROOT%{_bindir}/* %changelog +* Wed Jul 22 2015 Richard W.M. Jones - 0.9.8.6-0.rc1.19 +- s/390x: Disable stripping on bytecode-only platforms. + * Wed Jun 24 2015 Richard W.M. Jones - 0.9.8.6-0.rc1.18 - ocaml-4.02.2 final rebuild.