diff --git a/memtester-4.5.1.tar.gz b/memtester-4.5.1.tar.gz deleted file mode 100644 index 7d95bf2f89123d1bcd673a2772f7ef41b00d4878..0000000000000000000000000000000000000000 Binary files a/memtester-4.5.1.tar.gz and /dev/null differ diff --git a/memtester-4.6.0.tar.gz b/memtester-4.6.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..37708b3c3c07f6960b504c6627df1aa57e263fd3 Binary files /dev/null and b/memtester-4.6.0.tar.gz differ diff --git a/memtester-fix-make-install-path.patch b/memtester-fix-make-install-path.patch deleted file mode 100644 index 6d5181d9d90cd93c443c840c1e446b91c284bddc..0000000000000000000000000000000000000000 --- a/memtester-fix-make-install-path.patch +++ /dev/null @@ -1,28 +0,0 @@ -diff --color -urN memtester-4.5.1/Makefile memtester-4.5.1-new/Makefile ---- memtester-4.5.1/Makefile 2021-05-31 01:10:52.000000000 +0800 -+++ memtester-4.5.1-new/Makefile 2022-07-05 03:32:36.885577441 +0800 -@@ -17,7 +17,8 @@ - OBJECTS = $(SOURCES:.c=.o) - HEADERS = memtester.h - TARGETS = *.o compile load auto-ccld.sh find-systype make-compile make-load systype extra-libs --INSTALLPATH = /usr/local -+BINDIR = ${DESTDIR}/usr/bin -+MANDIR = ${DESTDIR}/usr/share/man/man8 - - # - # Targets -@@ -25,10 +26,10 @@ - all: memtester - - install: all -- mkdir -m 755 -p $(INSTALLPATH)/bin -- install -m 755 memtester $(INSTALLPATH)/bin/ -- mkdir -m 755 -p $(INSTALLPATH)/man/man8 -- gzip -c memtester.8 >memtester.8.gz ; install -m 644 memtester.8.gz $(INSTALLPATH)/man/man8/ -+ mkdir -m 755 -p $(BINDIR) -+ mkdir -m 755 -p $(MANDIR) -+ install -m 755 memtester $(BINDIR) -+ gzip -c memtester.8 >memtester.8.gz ; install -m 644 memtester.8.gz $(MANDIR) - - auto-ccld.sh: \ - conf-cc conf-ld warn-auto.sh diff --git a/memtester.spec b/memtester.spec index 72ed258c9f95996a54eebc9534a5b5fd139b5b3d..d3e5a242d272bd8857001a04fdb70cfdcc3aabb2 100644 --- a/memtester.spec +++ b/memtester.spec @@ -1,15 +1,13 @@ %global debug_package %{nil} Name: memtester -Version: 4.5.1 -Release: 2 +Version: 4.6.0 +Release: 1 Summary: A userspace utility for testing the memory subsystem for faults License: GPL-2.0-only 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 @@ -22,7 +20,8 @@ A userspace utility for testing the memory subsystem for faults. It's portable a %make_build %install -make install DESTDIR="%{buildroot}" +install -D -m 0755 %{name} %{buildroot}%{_bindir}/%{name} +install -D -m 0644 %{name}.8 %{buildroot}%{_mandir}/man8/%{name}.8 %pre %preun @@ -38,6 +37,9 @@ make install DESTDIR="%{buildroot}" %{_mandir}/* %changelog +* Fri Sep 15 2023 xu_ping <707078654@qq.com> - 4.6.0-1 +- Upgrade version to 4.6.0 + * Tue Aug 02 2022 liukuo - 4.5.1-2 - License compliance rectification