SPECS: uClibc.spec - really always disable stripping not only with...

glen glen at pld-linux.org
Tue Apr 1 21:14:59 CEST 2008


Author: glen                         Date: Tue Apr  1 19:14:59 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- really always disable stripping not only with %{?debug}
- use inline sed edit

---- Files affected:
SPECS:
   uClibc.spec (1.156 -> 1.157) 

---- Diffs:

================================================================
Index: SPECS/uClibc.spec
diff -u SPECS/uClibc.spec:1.156 SPECS/uClibc.spec:1.157
--- SPECS/uClibc.spec:1.156	Tue Apr  1 21:01:46 2008
+++ SPECS/uClibc.spec	Tue Apr  1 21:14:54 2008
@@ -118,16 +118,17 @@
 	OPTIMIZATION="%{rpmcflags} -Os" \
 	CC="%{__cc}"
 
-mv -f .config .config.tmp
-sed -e 's/^.*UCLIBC_HAS_IPV6.*$/UCLIBC_HAS_IPV6=y/;
+sed -i -e '
+	s/^.*UCLIBC_HAS_IPV6.*$/UCLIBC_HAS_IPV6=y/;
 	s/^.*DO_C99_MATH.*$/DO_C99_MATH=y/;
 	s/^.*UCLIBC_HAS_RPC.*/UCLIBC_HAS_RPC=y\n# UCLIBC_HAS_FULL_RPC is not set\n# UCLIBC_HAS_REENTRANT_RPC is not set/;
 	s/^.*UCLIBC_HAS_SYS_SIGLIST.*$/UCLIBC_HAS_SYS_SIGLIST=y/;
 	s,^SHARED_LIB_LOADER_PREFIX=.*,SHARED_LIB_LOADER_PREFIX="$(RUNTIME_PREFIX)/lib",
 	s/^.*UCLIBC_HAS_PRINTF_M_SPEC.*$/UCLIBC_HAS_PRINTF_M_SPEC=y/;
 	s/^.*UCLIBC_SUSV3_LEGACY.*$/UCLIBC_SUSV3_LEGACY=y\nUCLIBC_SUSV3_LEGACY_MACROS=y/;
-%{?debug:s/^.*\<DODEBUG\>.*$/DODEBUG=y/;s/^.*SUPPORT_LD_DEBUG\>.*$/SUPPORT_LD_DEBUG=y/;s/^.*SUPPORT_LD_DEBUG_EARLY.*$/SUPPORT_LD_DEBUG_EARLY=y/;s/^.*\<DOSTRIP\>.*$/# DOSTRIP is not set/;}
-	' .config.tmp > .config
+	s/^.*\<DOSTRIP\>.*$/# DOSTRIP is not set/;
+%{?debug:s/^.*\<DODEBUG\>.*$/DODEBUG=y/;s/^.*SUPPORT_LD_DEBUG\>.*$/SUPPORT_LD_DEBUG=y/;s/^.*SUPPORT_LD_DEBUG_EARLY.*$/SUPPORT_LD_DEBUG_EARLY=y/;}
+' .config
 
 # force regeneration after .config changes
 rm -f include/bits/uClibc_config.h
@@ -140,7 +141,6 @@
 	HOSTCC="%{__cc}" \
 	HOSTCFLAGS="%{rpmcflags} %{rpmldflags}" \
 	OPTIMIZATION="%{rpmcflags} -Os" \
-	DOSTRIP=n \
 	CC="%{__cc}"
 
 %install
@@ -216,6 +216,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.157  2008-04-01 19:14:54  glen
+- really always disable stripping not only with %{?debug}
+- use inline sed edit
+
 Revision 1.156  2008-04-01 19:01:46  glen
 - some unpackaged list
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/uClibc.spec?r1=1.156&r2=1.157&f=u



More information about the pld-cvs-commit mailing list