rpms/memtester/EL-5 memtester-4.0.8-debuginfo.patch, NONE, 1.1 memtester.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Lucian Langa
lucilanga at fedoraproject.org
Thu Nov 13 10:49:57 UTC 2008
Author: lucilanga
Update of /cvs/pkgs/rpms/memtester/EL-5
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv19590
Modified Files:
.cvsignore sources
Added Files:
memtester-4.0.8-debuginfo.patch memtester.spec
Log Message:
initial import
memtester-4.0.8-debuginfo.patch:
--- NEW FILE memtester-4.0.8-debuginfo.patch ---
--- memtester-4.0.8/conf-ld 2007-11-21 17:54:57.000000000 +0200
+++ memtester-4.0.8-mod/conf-ld 2008-09-27 21:43:12.000000000 +0300
@@ -1,3 +1,3 @@
-cc -s
+cc
This will be used to link .o files into an executable.
--- memtester-4.0.8/Makefile 2007-11-21 17:54:57.000000000 +0200
+++ memtester-4.0.8-mod/Makefile 2008-09-27 21:55:59.000000000 +0300
@@ -75,7 +75,7 @@
./load memtester tests.o `cat extra-libs`
memtester.o: memtester.c tests.h conf-cc Makefile compile
- ./compile memtester.c
+ ./compile ${OPT} memtester.c
tests.o: tests.c tests.h conf-cc Makefile compile
- ./compile tests.c
+ ./compile ${OPT} tests.c
--- NEW FILE memtester.spec ---
Name: memtester
Version: 4.0.8
Release: 2%{?dist}
Summary: Utility to test for faulty memory subsystem
Group: System Environment/Base
License: GPLv2
URL: http://pyropus.ca/software/memtester/
Source0: http://pyropus.ca/software/memtester/old-versions/memtester-4.0.8.tar.gz
Patch0: memtester-4.0.8-debuginfo.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: dos2unix
#Requires:
%description
memtester is a utility for testing the memory subsystem in a computer to
determine if it is faulty.
%prep
%setup -q
%patch0 -p1 -b .debuginfo
%build
make %{?_smp_mflags} -e OPT="%{optflags}"
%install
rm -rf $RPM_BUILD_ROOT
mv README README.iso88591
iconv -o README -f iso88591 -t utf8 README.iso88591
touch -r README.iso88591 README
rm -f README.iso88591
dos2unix -k BUGS
make -e INSTALLPATH=$RPM_BUILD_ROOT%{_prefix} install
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man8
#fix location of manual
mv $RPM_BUILD_ROOT%{_prefix}/man/man8/memtester.8.gz $RPM_BUILD_ROOT%{_mandir}/man8
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc BUGS CHANGELOG COPYING README README.tests
%{_bindir}/memtester
%{_mandir}/man8/memtester.8.gz
%changelog
* Mon Sep 29 2008 Lucian Langa <cooly at gnome.eu.org> - 4.0.8-2
- preserve timestamps
- fix patch
* Sat Sep 27 2008 Lucian Langa <cooly at gnome.eu.org> - 4.0.8-1
- initial specfile
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/memtester/EL-5/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 30 Sep 2008 04:19:40 -0000 1.1
+++ .cvsignore 13 Nov 2008 10:49:26 -0000 1.2
@@ -0,0 +1 @@
+memtester-4.0.8.tar.gz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/memtester/EL-5/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 30 Sep 2008 04:19:40 -0000 1.1
+++ sources 13 Nov 2008 10:49:26 -0000 1.2
@@ -0,0 +1 @@
+a4971ed1ccaf5b2e2148fd66b0eb7363 memtester-4.0.8.tar.gz
More information about the scm-commits
mailing list