generate_source_tarball.sh: Improve VCS exclusion
- generate_source_tarball.sh: Improve VCS exclusion - Related: RHEL-46635
This commit is contained in:
parent
90fc311b0c
commit
96e6a2adc0
@ -2489,6 +2489,7 @@ cjc.mainProgram(args)
|
||||
%changelog
|
||||
* Mon Jul 8 2024 Anton Bobrov <abobrov@redhat.com> - 1:17.0.12.0.6-0.1.ea
|
||||
- generate_source_tarball.sh: Use tar exclude options for VCS files
|
||||
- generate_source_tarball.sh: Improve VCS exclusion
|
||||
|
||||
* Mon Jul 8 2024 Andrew Hughes <gnu.andrew@redhat.com> - 1:17.0.12.0.6-0.1.ea
|
||||
- generate_source_tarball.sh: Update examples in header for clarity
|
||||
|
@ -255,7 +255,7 @@ pushd "${FILE_NAME_ROOT}"
|
||||
XZ_OPT=${XZ_OPT-"-T0"} \
|
||||
tar --exclude-vcs --exclude=.jcheck --exclude=.hgtags \
|
||||
--exclude=.hgignore --exclude=.gitattributes \
|
||||
--exclude=.gitignore --exclude=.github \
|
||||
--exclude=.gitignore --exclude=.github --exclude=.git \
|
||||
--mtime="${TAR_TIME}" --owner=root --group=root --sort=name \
|
||||
-$SWITCH "${TARBALL_NAME}" "${TO_COMPRESS}"
|
||||
mv "${TARBALL_NAME}" ..
|
||||
|
Loading…
Reference in New Issue
Block a user