- added patch for dynamic PAGE_SIZE support

- fixed/enhanced testsuite and removed the '|| :' in %%check
- improved/fixed floating point support *printf(3)
This commit is contained in:
ensc 2008-04-13 14:18:39 +00:00
commit de70f517d9

View file

@ -30,7 +30,7 @@
Summary: Small libc implementation
Name: dietlibc
Version: 0.31
Release: %release_func 1%{?snapshot:.%snapshot}
Release: %release_func 2%{?snapshot:.%snapshot}
License: GPL
Group: Development/Libraries
URL: http://www.fefe.de/dietlibc/
@ -50,6 +50,11 @@ Patch31: dietlibc-0.31-defpath.patch
Patch32: dietlibc-0.31-stacksmash.patch
Patch33: dietlibc-0.31-stacksmash-dyn.patch
Patch41: dietlibc-0.31.20080212-teststdout.patch
Patch43: dietlibc-0.31-pagesize.patch
Patch44: dietlibc-0.31-printFG.patch
Patch45: dietlibc-0.31-stat64.patch
Patch46: dietlibc-0.31-testsuite.patch
Patch47: dietlibc-0.31-lcctime.patch
BuildRoot: %_tmppath/%name-%version-%release-buildroot
%{?with_dynamic:Requires: dietlibc-lib = %version-%release}
%{!?with_dynamic:Obsoletes: dietlibc-lib < %version-%release}
@ -99,6 +104,11 @@ This package contains the dynamic libraries for dietlibc.
%patch33 -p1 -b .stacksmash-dyn
%patch41 -p1 -b .teststdout
%patch43 -p1 -b .pagesize
%patch44 -p1 -b .printFG
%patch45 -p1 -b .stat64
%patch46 -p1 -b .testsuite
%patch47 -p1 -b .lcctime
%if %{without ssp}
@ -110,6 +120,14 @@ sed -i -e 's!^#define WANT_SSP$!// \0!g;
%global xtra_fixcflags %nil
%endif
%ifarch %ix86
sed -i \
-e '/#define WANT_DYN_PAGESIZE/{c\' \
-e '#define WANT_ELFINFO' \
-e '}' \
dietfeatures.h
%endif
sed -i -e 's!strip !: !g' Makefile
%global fixcflags -fomit-frame-pointer -fno-exceptions -fno-asynchronous-unwind-tables %xtra_fixcflags -Os -g3
@ -147,7 +165,7 @@ make %makeflags -C test/inet all %{?_smp_mflags} DIET=$(echo `pwd`/bin-*/diet)
cd test
ulimit -m $[ 50*1024 ] -v $[ 100*1024 ] -d $[ 50*1024 ]
bash ./runtests-X.sh || :
bash ./runtests-X.sh
%clean
@ -178,6 +196,11 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Sun Apr 13 2008 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.31-2.20080409
- added patch for dynamic PAGE_SIZE support
- fixed/enhanced testsuite and removed the '|| :' in %%check
- improved/fixed floating point support *printf(3)
* Thu Apr 10 2008 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.31-1.20080409
- updated to CVS snapshot 20080409