diff --git a/ocaml-ocamlnet.spec b/ocaml-ocamlnet.spec index e3aa7f0..5cfc6c8 100644 --- a/ocaml-ocamlnet.spec +++ b/ocaml-ocamlnet.spec @@ -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 - 3.7.3-2 +* Thu Sep 19 2013 Richard W.M. Jones - 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 - 3.7.3-1 - New upstream version 3.7.3.