- make malloc checking configurable

OBS-URL: https://build.opensuse.org/package/show/Base:System/aaa_base?expand=0&rev=215
This commit is contained in:
Ludwig Nussel 2011-02-14 13:26:31 +00:00 committed by Git OBS Bridge
parent faf151d8d4
commit b5d7ed6c0a
2 changed files with 8 additions and 2 deletions

View File

@ -1,7 +1,8 @@
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Feb 14 13:12:11 UTC 2011 - lnussel@suse.de Mon Feb 14 13:23:35 UTC 2011 - lnussel@suse.de
- don't time out waiting for tmpfs (bnc#671468) - don't time out waiting for tmpfs (bnc#671468)
- make malloc checking configurable
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Feb 11 18:39:04 CET 2011 - werner@suse.de Fri Feb 11 18:39:04 CET 2011 - werner@suse.de

View File

@ -17,6 +17,7 @@
# norootforbuild # norootforbuild
%bcond_with aaa_base_malloc_debug
Name: aaa_base Name: aaa_base
Version: 11.4 Version: 11.4
@ -75,7 +76,9 @@ install -d -m 700 root
test -d ../aaa_base/root/.gnupg && exit 1 test -d ../aaa_base/root/.gnupg && exit 1
cp -a ../aaa_base/* $RPM_BUILD_ROOT cp -a ../aaa_base/* $RPM_BUILD_ROOT
# for the release # for the release
#rm $RPM_BUILD_ROOT/etc/profile.d/malloc-debug.* %if !%{with aaa_base_malloc_debug}
rm $RPM_BUILD_ROOT/etc/profile.d/malloc-debug.*
%endif
cp $RPM_SOURCE_DIR/get_kernel_version $RPM_BUILD_ROOT/sbin cp $RPM_SOURCE_DIR/get_kernel_version $RPM_BUILD_ROOT/sbin
mkdir -p $RPM_BUILD_ROOT/var/adm/fillup-templates mkdir -p $RPM_BUILD_ROOT/var/adm/fillup-templates
for i in $RPM_BUILD_DIR/sysconfig_parts/sysconfig.* ; do for i in $RPM_BUILD_DIR/sysconfig_parts/sysconfig.* ; do
@ -137,8 +140,10 @@ rm -f /root/.gnupg/secring.gpg.aaa_save
%config /etc/profile.d/csh.utf8 %config /etc/profile.d/csh.utf8
%config /etc/profile.d/lang.csh %config /etc/profile.d/lang.csh
%config /etc/profile.d/lang.sh %config /etc/profile.d/lang.sh
%if %{with aaa_base_malloc_debug}
%config /etc/profile.d/malloc-debug.sh %config /etc/profile.d/malloc-debug.sh
%config /etc/profile.d/malloc-debug.csh %config /etc/profile.d/malloc-debug.csh
%endif
%config /etc/profile.d/profile.csh %config /etc/profile.d/profile.csh
%config /etc/profile.d/profile.sh %config /etc/profile.d/profile.sh
%config /etc/profile.d/sh.ssh %config /etc/profile.d/sh.ssh