SPECS: glibc.spec - removed postshell - don't use 'diet -Os $(CC)'...
sparky
sparky at pld-linux.org
Tue Sep 5 16:59:43 CEST 2006
Author: sparky Date: Tue Sep 5 14:59:43 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- removed postshell
- don't use 'diet -Os $(CC)' because it kills all other CFLAGS
---- Files affected:
SPECS:
glibc.spec (1.645 -> 1.646)
---- Diffs:
================================================================
Index: SPECS/glibc.spec
diff -u SPECS/glibc.spec:1.645 SPECS/glibc.spec:1.646
--- SPECS/glibc.spec:1.645 Sat Aug 19 17:19:02 2006
+++ SPECS/glibc.spec Tue Sep 5 16:59:37 2006
@@ -50,7 +50,6 @@
# Source5-md5: f464eadf3cf06761f65639e44a179e6b
Source6: %{name}-localedb-gen
Source7: %{name}-LD-path.c
-Source8: postshell.c
Patch0: %{name}-info.patch
Patch1: %{name}-pl.po-update.patch
Patch2: %{name}-pld.patch
@@ -891,9 +890,7 @@
%endif
%if %{without cross}
-# create 5.4k postshell binary (7k unstripped) with diet instead of 412k glibc static binary (467k unstripped)
-diet -Os %{__cc} %{SOURCE8} %{rpmcflags} -static -o postshell
-diet -Os %{__cc} %{SOURCE7} %{rpmcflags} -static -o glibc-postinst
+diet %{__cc} %{SOURCE7} %{rpmcflags} -Os -static -o glibc-postinst
%endif
%install
@@ -923,7 +920,6 @@
cd ..
%if %{without cross}
-install postshell $RPM_BUILD_ROOT/sbin
install glibc-postinst $RPM_BUILD_ROOT/sbin
%endif
@@ -1096,7 +1092,6 @@
%defattr(644,root,root,755)
%doc README NEWS FAQ BUGS
%if %{without cross}
-%attr(755,root,root) /sbin/postshell
%attr(755,root,root) /sbin/glibc-postinst
%endif
%attr(755,root,root) /sbin/ldconfig
@@ -1445,6 +1440,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.646 2006/09/05 14:59:37 sparky
+- removed postshell
+- don't use 'diet -Os $(CC)' because it kills all other CFLAGS
+
Revision 1.645 2006/08/19 15:19:02 qboosh
- filterout needs rpm.macros >= 1.315
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/glibc.spec?r1=1.645&r2=1.646&f=u
More information about the pld-cvs-commit
mailing list