generate_source_tarball.sh: Improve VCS exclusion
- generate_source_tarball.sh: Improve VCS exclusion - Related: RHEL-46639
This commit is contained in:
parent
c43cb0b0c2
commit
b5b3e79f28
@ -2488,6 +2488,7 @@ require "copy_jdk_configs.lua"
|
|||||||
%changelog
|
%changelog
|
||||||
* Mon Jul 8 2024 Anton Bobrov <abobrov@redhat.com> - 1:17.0.12.0.6-0.1.ea
|
* 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: 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
|
* 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
|
- generate_source_tarball.sh: Update examples in header for clarity
|
||||||
|
@ -255,7 +255,7 @@ pushd "${FILE_NAME_ROOT}"
|
|||||||
XZ_OPT=${XZ_OPT-"-T0"} \
|
XZ_OPT=${XZ_OPT-"-T0"} \
|
||||||
tar --exclude-vcs --exclude=.jcheck --exclude=.hgtags \
|
tar --exclude-vcs --exclude=.jcheck --exclude=.hgtags \
|
||||||
--exclude=.hgignore --exclude=.gitattributes \
|
--exclude=.hgignore --exclude=.gitattributes \
|
||||||
--exclude=.gitignore --exclude=.github \
|
--exclude=.gitignore --exclude=.github --exclude=.git \
|
||||||
--mtime="${TAR_TIME}" --owner=root --group=root --sort=name \
|
--mtime="${TAR_TIME}" --owner=root --group=root --sort=name \
|
||||||
-$SWITCH "${TARBALL_NAME}" "${TO_COMPRESS}"
|
-$SWITCH "${TARBALL_NAME}" "${TO_COMPRESS}"
|
||||||
mv "${TARBALL_NAME}" ..
|
mv "${TARBALL_NAME}" ..
|
||||||
|
Loading…
Reference in New Issue
Block a user