commit c0c3667427da75eb38a6154d94c0a6c9966556e6
Author: Tomasz Pala <[email protected]>
Date:   Mon Mar 28 21:59:34 2016 +0200

    upgraded to 5.01, use precompiled binary to have coherent results
    as this project is abandoned and no support exists

 memtest86+.spec | 29 +++++++++++++++++------------
 1 file changed, 17 insertions(+), 12 deletions(-)
---
diff --git a/memtest86+.spec b/memtest86+.spec
index fcbfa50..59433d6 100644
--- a/memtest86+.spec
+++ b/memtest86+.spec
@@ -1,6 +1,8 @@
 #
 # Conditional build:
-%bcond_with    serial_console  # enable serial console support
+%bcond_with    serial_console  # enable serial console BY DEFAULT
+#              This is normally off since it slows down testing
+#              Instead, one can just append console=ttyS0,9600
 
 Summary:       Thorough, stand alone memory test for i386 systems
 Summary(pl.UTF-8):     Kompleksowy, niezależny od OS tester pamięci dla 
systemów i386
@@ -8,14 +10,17 @@ Summary(pt_BR.UTF-8):        Testador de memória completo e 
independente para sistemas
 Summary(ru.UTF-8):     Тест памяти для x86-архитектуры
 Summary(uk.UTF-8):     Тест пам'яті для x86-архітектури
 Name:          memtest86+
-Version:       4.20
-Release:       2
+Version:       5.01
+Release:       1
 License:       GPL v2
 Group:         Applications/System
 Source0:       
http://www.memtest.org/download/%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: ef62c2f5be616676c8c62066dedc46b3
+# Source0-md5: 43c5832baa919e1206e251e735cdee2d
 Source1:       %{name}.image
 Patch0:                memtest86-enable_serial_console.patch
+# 3rd party patches:
+# 
http://forum.canardpc.com/threads/100822-patch-build-under-linux-%28gcc-5-2%29
+# 
http://forum.canardpc.com/threads/103343-patch-regression-memtest86-5-01-doesn-t-work-with-grub-legacy
 URL:           http://www.memtest.org/
 ExclusiveArch: %{ix86}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -82,19 +87,19 @@ Obraz memtest86+ dla rc-boot.
 %{?with_serial_console:%patch0 -p1}
 
 %build
-%{__make} \
-       CC="%{__cc}" \
-       CFLAGS="%{rpmcflags} -m32 -fomit-frame-pointer -fno-builtin 
-ffreestanding -fPIC" \
-       SHELL=/bin/sh
+# 1. DO NOT mess with CFLAGS or any other compiler magic, the autor knows 
better: README.build-process
+# 2. actually, until ELF version is needed (for systems short on low-memory), 
use zImage provided
+#%%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT/boot
+#cp -p memtest.bin $RPM_BUILD_ROOT/boot/%{name}
+cp -p precomp.bin $RPM_BUILD_ROOT/boot/%{name}
+
 install -d $RPM_BUILD_ROOT/etc/sysconfig/rc-boot/images
 cp -p %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/rc-boot/images/%{name}
 
-install -d $RPM_BUILD_ROOT/boot
-cp -p memtest.bin $RPM_BUILD_ROOT/boot/%{name}
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -112,7 +117,7 @@ fi
 
 %files
 %defattr(644,root,root,755)
-%doc README
+%doc FAQ README* changelog
 /boot/%{name}
 
 %files -n rc-boot-image-memtest86+
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/memtest86+.git/commitdiff/c0c3667427da75eb38a6154d94c0a6c9966556e6

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to