diff options
author | Rich Megginson <rmeggins@redhat.com> | 2005-04-07 20:38:15 +0000 |
---|---|---|
committer | Rich Megginson <rmeggins@redhat.com> | 2005-04-07 20:38:15 +0000 |
commit | dcea5f06a65757a7e08862e2c5c6dae0ade1b9d8 (patch) | |
tree | 9c65271b92392907a046385241a8d6eb6d4f2e77 /ldapserver.spec.tmpl | |
parent | 898270bfcba3fbcb6e3e2082a60fb7a1d49a0028 (diff) | |
download | ds-dcea5f06a65757a7e08862e2c5c6dae0ade1b9d8.tar.gz ds-dcea5f06a65757a7e08862e2c5c6dae0ade1b9d8.tar.xz ds-dcea5f06a65757a7e08862e2c5c6dae0ade1b9d8.zip |
Reviewed by Nathan (Thanks!)
RPM tries to do all of this auto-optimization stuff that we just don't want, even in optimized builds because we already do it. So this just disables the macro that causes the following:
/usr/lib/rpm/redhat/brp-compress
/usr/lib/rpm/redhat/brp-strip /usr/bin/strip
/usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip
/usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump
Diffstat (limited to 'ldapserver.spec.tmpl')
-rw-r--r-- | ldapserver.spec.tmpl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ldapserver.spec.tmpl b/ldapserver.spec.tmpl index 1c0ac7c3..ba98c218 100644 --- a/ldapserver.spec.tmpl +++ b/ldapserver.spec.tmpl @@ -2,9 +2,14 @@ # Copyright (C) 2005 Red Hat, Inc. # All rights reserved. # END COPYRIGHT BLOCK +# The way we do packaging seems to leave unpackaged files in the builddir; +# however, we really don't want them %define _unpackaged_files_terminate_build 0 # override the default build name format - we do not want the arch subdir %define _build_name_fmt %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.%{flavor}.rpm +# don't bother stripping - we already do this for optimized, and we definitely +# want the symbols in the debug builds +%define __os_install_post %{nil} Summary: @COMPANY-PRODUCT-NAME@ Name: @LCASE-COMPANY-NAME-NOSP@-ds Version: @GEN-VERSION@ |