Skip to content

Commit

Permalink
build tarball using ustar format for better compatibility
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
haarg committed May 17, 2024
1 parent 0624db9 commit 6d9fe6e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile.PL
Original file line number Diff line number Diff line change
Expand Up @@ -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' },
);

0 comments on commit 6d9fe6e

Please sign in to comment.