[packages/memtester] Up to 4.7.1
arekm
arekm at pld-linux.org
Mon Mar 9 18:44:58 CET 2026
commit 6c44d60e595b34c76436590e9a0879da54184d9d
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Mon Mar 9 18:44:45 2026 +0100
Up to 4.7.1
memtester.spec | 24 ++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)
---
diff --git a/memtester.spec b/memtester.spec
index 2cfcf0e..114fad9 100644
--- a/memtester.spec
+++ b/memtester.spec
@@ -1,20 +1,19 @@
Summary: Userspace utility to test for faulty memory subsystem
Summary(pl.UTF-8): Narzędzie do testowania podsystemu pamięci
Name: memtester
-# http://pyropus.ca/software/memtester/old-versions/memtester-4.2.0.tar.gz
-Version: 4.2.2
-Release: 2
+Version: 4.7.1
+Release: 1
License: GPL v2
Group: Applications/System
-Source0: http://pyropus.ca/software/memtester/old-versions/%{name}-%{version}.tar.gz
-# Source0-md5: 0118616cc8860c6b85ef6a1281da1783
-URL: http://pyropus.ca/software/memtester/
+Source0: https://pyropus.ca/software/memtester/old-versions/%{name}-%{version}.tar.gz
+# Source0-md5: a9d5e85a37696087b7c17a45ef017ded
+URL: https://pyropus.ca/software/memtester/
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-Memtester is a userspace utility to test for memory subsytem errors.
+Memtester is a userspace utility to test for memory subsystem errors.
It performs various types of tests to check for many possible error
-kinds. Running as root is prefferred, but not a must.
+kinds. Running as root is preferred, but not a must.
%description -l pl.UTF-8
Memtester jest programem testującym podsystem pamięci, działającym w
@@ -25,11 +24,12 @@ użytkownika root, ale nie jest to wymagane.
%prep
%setup -q
+# Fix conf-cc and conf-ld to use our compiler flags and not strip binary
+echo '%{__cc} %{rpmcflags} -DPOSIX -D_POSIX_C_SOURCE=200809L -D_FILE_OFFSET_BITS=64 -DTEST_NARROW_WRITES -c' > conf-cc
+echo '%{__cc} %{rpmldflags}' > conf-ld
+
%build
-%{__make} \
- CC="%{__cc}" \
- CFLAGS="%{rpmcflags}" \
- LDFLAGS="%{rpmldflags}"
+%{__make}
%install
rm -rf $RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/memtester.git/commitdiff/6c44d60e595b34c76436590e9a0879da54184d9d
More information about the pld-cvs-commit
mailing list