From aa6e210ac7117492be30a0a85889e46af3c12bf8 Mon Sep 17 00:00:00 2001 From: Zach Brown Date: Thu, 3 Dec 2020 13:46:46 -0800 Subject: [PATCH] Fix kmod spec path in dist tarball For some reason, the make dist rule in kmod/ put the spec file in a scoutfs-$ver/ directory, instead of scoutfs-kmod-$ver/ like the rest of the files and instead of scoutfs-utils-$ver/ that the spec file for utils is put in the utils dist tarball. This adds -kmod to the path for the spec file so that it matches the rest of the kmod dist tarball. Signed-off-by: Zach Brown --- kmod/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kmod/Makefile b/kmod/Makefile index e6d5c979..ab69272c 100644 --- a/kmod/Makefile +++ b/kmod/Makefile @@ -51,7 +51,7 @@ modules_install: dist: scoutfs-kmod.spec git archive --format=tar --prefix scoutfs-kmod-$(RPM_VERSION)/ HEAD^{tree} > $(TARFILE) - @ tar rf $(TARFILE) --transform="s@\(.*\)@scoutfs-$(RPM_VERSION)/\1@" scoutfs-kmod.spec + @ tar rf $(TARFILE) --transform="s@\(.*\)@scoutfs-kmod-$(RPM_VERSION)/\1@" scoutfs-kmod.spec clean: make $(SCOUTFS_ARGS) clean