From 6d9fe6e2eace6fb32a0c029dc98605a8f3151515 Mon Sep 17 00:00:00 2001 From: Graham Knop Date: Fri, 17 May 2024 23:15:05 +0200 Subject: [PATCH] build tarball using ustar format for better compatibility Tell tar to use the ustar format when building the release tarball. ustar is the baseline format that doesn't include extra headers that will cause warnings on any other tar version. Without it, the archive will often end up with headers like `LIBARCHIVE.xattr.com.apple.quarantine`, which will produce warnings when extracted with GNU tar. --- Makefile.PL | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile.PL b/Makefile.PL index 6c53dcb..239114f 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -29,5 +29,6 @@ WriteMakefile( }, }, PREREQ_PM => {Mojolicious => '9.0', 'YAML::XS' => '0.67'}, - test => {TESTS => 't/*.t t/*/*.t'} + test => {TESTS => 't/*.t t/*/*.t'}, + dist => {TARFLAGS => '-c -v --format=ustar -f' }, );