45 lines
1016 B
RPMSpec
45 lines
1016 B
RPMSpec
%global debug_package %{nil}
|
|
|
|
Name: memtester
|
|
Version: 4.3.0
|
|
Release: 1
|
|
Summary: A userspace utility for testing the memory subsystem for faults
|
|
License: GPLv2
|
|
URL: http://pyropus.ca/software/memtester/
|
|
Source0: http://pyropus.ca/software/memtester/old-versions/%{name}-%{version}.tar.gz
|
|
|
|
Patch0: memtester-fix-make-install-path.patch
|
|
|
|
BuildRequires: gcc
|
|
|
|
%description
|
|
A userspace utility for testing the memory subsystem for faults. It's portable and should compile and work on any 32- or 64-bit Unix-like system. (Yes, even weird, proprietary Unices, and even Mac OS X.) For hardware developers, memtester can be told to test memory starting at a particular physical address as of memtester version 4.1.0.
|
|
|
|
%prep
|
|
%setup -q -n %{name}-%{version}/
|
|
%patch0 -p1
|
|
|
|
%build
|
|
%make_build
|
|
|
|
%install
|
|
make install DESTDIR="%{buildroot}"
|
|
|
|
%pre
|
|
%preun
|
|
%post
|
|
%postun
|
|
|
|
%check
|
|
|
|
%files
|
|
%license COPYING
|
|
%doc README README.tests
|
|
%{_bindir}/*
|
|
%{_mandir}/*
|
|
|
|
%changelog
|
|
* Sun Mar 29 2020 Wei Xiong <myeuler@163.com>
|
|
- Package init
|
|
|