diff options
-rw-r--r-- | pcmemtest-unsigned-x64.spec | 41 |
1 files changed, 25 insertions, 16 deletions
diff --git a/pcmemtest-unsigned-x64.spec b/pcmemtest-unsigned-x64.spec index 959029a..195bf42 100644 --- a/pcmemtest-unsigned-x64.spec +++ b/pcmemtest-unsigned-x64.spec @@ -1,38 +1,47 @@ +# Prevent stripping +%global __spec_install_post /usr/lib/rpm/brp-compress +# Turn off debuginfo package +%global debug_package %{nil} + Name: pcmemtest-unsigned-x64 -Version: +Version: 1.4 Release: 1%{?dist} -Summary: - -License: -URL: -Source0: +Summary: Stand-alone memory tester for x86 and x86-64 architecture computers -BuildRequires: -Requires: +License: GPLv2 +URL: https://github.com/martinwhitaker/pcmemtest +Source0: https://github.com/martinwhitaker/pcmemtest/archive/v%{version}/pcmemtest-%{version}.tar.gz +BuildRequires: gcc %description +PCMemTest is a stand-alone memory tester for x86 and x86-64 architecture +computers. It provides a more thorough memory check than that provided by +BIOS memory tests. %prep -%autosetup +%autosetup -n pcmemtest-%{version} %build -%configure +cd build64 %make_build %install -rm -rf $RPM_BUILD_ROOT -%make_install +cd build64 +mkdir -p %{buildroot}/{boot,%{efi_esp_dir}} +install -m 0644 memtest.efi %{buildroot}/%{efi_esp_dir}/memtest.efi +install -m 0644 memtest.bin %{buildroot}/boot/memtest.bin %files -%license add-license-file-here -%doc add-docs-here - +%license LICENSE +%doc README.md +%{efi_esp_dir}/memtest.efi +/boot/memtest.bin %changelog * Sat Aug 28 2021 Gordon Messmer <gordon.messmer@gmail.com> -- +- Initial package |