Disable debuginfo for the same reason.

This commit is contained in:
Richard W.M. Jones 2013-09-19 17:20:52 +01:00
parent 6c2de7cace
commit 13a990f2ef
1 changed files with 6 additions and 5 deletions

View File

@ -1,17 +1,17 @@
%global opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0)
# Prevent RPM from stripping the binaries.
# Prevent RPM from stripping the binaries & debuginfo.
#
# NB: Only required because this package uses the obsolete -custom
# parameter and builds a bytecode 'ocamlrpcgen'. I tried to fix the
# build to make a native code 'ocamlrpcgen' but the build system got
# the better of me.
%define __strip /bin/true
%global opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0)
%global debug_package %{nil}
%global __strip /bin/true
Name: ocaml-ocamlnet
Version: 3.7.3
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Network protocols for OCaml
License: BSD
@ -219,9 +219,10 @@ echo -e '-b /usr/bin/netplex-admin\n-b /usr/bin/ocamlrpcgen' \
%changelog
* Thu Sep 19 2013 Richard W.M. Jones <rjones@redhat.com> - 3.7.3-2
* Thu Sep 19 2013 Richard W.M. Jones <rjones@redhat.com> - 3.7.3-3
- Unfortunately we have to re-add the anti-stripping code back. See
comment at top of spec file.
- Disable debuginfo for the same reason.
* Sat Sep 14 2013 Richard W.M. Jones <rjones@redhat.com> - 3.7.3-1
- New upstream version 3.7.3.