kexec-tools/makedumpfile-1.7.2-0002-Makefile-Remove-version-from-usr-share-makedum.patch
Tao Liu 2ba6f6fb2f Rebase makedumpfile to upstream latest(8e8b8814be1)
Resolves: bz2173815

Signed-off-by: Tao Liu <ltao@redhat.com>
2023-04-21 16:03:34 +08:00

35 lines
1.6 KiB
Diff

From f1d84a5d69d81bc7a89aefae504be88df1e50693 Mon Sep 17 00:00:00 2001
From: Leonidas Spyropoulos <artafinde@archlinux.org>
Date: Fri, 21 Oct 2022 11:24:59 +0100
Subject: [PATCH 2/7] [PATCH] Makefile: Remove version from
/usr/share/makedumpfile
Version specific paths doesn't make sense at /usr/share/makedumpfile.
This assumes you will have only one version installed which on a normal
system it makes sense and devs can always specify different DESTDIR per
versions.
Fixes: https://github.com/makedumpfile/makedumpfile/issues/10
Signed-off-by: Leonidas Spyropoulos <artafinde@archlinux.org>
---
Makefile | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/makedumpfile-1.7.2/Makefile b/makedumpfile-1.7.2/Makefile
index f982aaf..a289e41 100644
--- a/makedumpfile-1.7.2/Makefile
+++ b/makedumpfile-1.7.2/Makefile
@@ -130,6 +130,6 @@ install:
install -m 755 -t ${DESTDIR}/usr/sbin makedumpfile $(VPATH)makedumpfile-R.pl
install -m 644 -t ${DESTDIR}/usr/share/man/man8 makedumpfile.8
install -m 644 -t ${DESTDIR}/usr/share/man/man5 makedumpfile.conf.5
- mkdir -p ${DESTDIR}/usr/share/makedumpfile-${VERSION}/eppic_scripts
- install -m 644 -D $(VPATH)makedumpfile.conf ${DESTDIR}/usr/share/makedumpfile-${VERSION}/makedumpfile.conf.sample
- install -m 644 -t ${DESTDIR}/usr/share/makedumpfile-${VERSION}/eppic_scripts/ $(VPATH)eppic_scripts/*
+ mkdir -p ${DESTDIR}/usr/share/makedumpfile/eppic_scripts
+ install -m 644 -D $(VPATH)makedumpfile.conf ${DESTDIR}/usr/share/makedumpfile/makedumpfile.conf.sample
+ install -m 644 -t ${DESTDIR}/usr/share/makedumpfile/eppic_scripts/ $(VPATH)eppic_scripts/*
--
2.33.1