s/390x: Disable stripping on bytecode-only platforms.

This commit is contained in:
Richard W.M. Jones 2015-07-22 13:19:57 +01:00
parent 9a691cc614
commit 4d3a92a2b4
1 changed files with 10 additions and 3 deletions

View File

@ -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 <rjones@redhat.com> - 0.9.8.6-0.rc1.19
- s/390x: Disable stripping on bytecode-only platforms.
* Wed Jun 24 2015 Richard W.M. Jones <rjones@redhat.com> - 0.9.8.6-0.rc1.18
- ocaml-4.02.2 final rebuild.