%global debug_package %{nil} Name: memtester Version: 4.3.0 Release: 3 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 Patch1: fix-multi-difine.patch Patch2: memtester-add-fstack-protector.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 %patch1 -p1 %patch2 -p1 %build %make_build %install make install DESTDIR="%{buildroot}" %pre %preun %post %postun %check %files %license COPYING %doc README README.tests %{_bindir}/* %{_mandir}/* %changelog * Tue Sep 7 2021 Shaowei Cheng - Add -fstack-protector-strong * Wed Aug 4 2021 Lu Weitao - fix compile failure by upgrade to GCC-10 * Sun Mar 29 2020 Wei Xiong - Package init