summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGordon Messmer <gordon.messmer@gmail.com>2021-08-28 14:44:40 -0700
committerGordon Messmer <gordon.messmer@gmail.com>2021-08-28 14:44:40 -0700
commit718ebe1cbc30cc1ea22b57cf8f29eb9a22c50ed3 (patch)
tree2e19219292e026e418e4f77f6ee46e442c7c906d
parentb7f2ecc613a187c412b8984d0743cc12738f03a8 (diff)
downloadpcmemtest-unsigned-x64-718ebe1cbc30cc1ea22b57cf8f29eb9a22c50ed3.tar.gz
pcmemtest-unsigned-x64-718ebe1cbc30cc1ea22b57cf8f29eb9a22c50ed3.tar.xz
pcmemtest-unsigned-x64-718ebe1cbc30cc1ea22b57cf8f29eb9a22c50ed3.zip
Fill in minimal information and ensure a successful build.
-rw-r--r--pcmemtest-unsigned-x64.spec41
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