mirror of
https://github.com/versity/scoutfs.git
synced 2025-12-23 05:25:18 +00:00
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 <zab@versity.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user