File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,9 +18,9 @@ Requires: bash
1818# for tar, compress sources
1919Requires: tar
2020# in case .bz2 is used in .spec
21- Requires: bzip2
21+ Requires: pbzip2
2222# in case .gz is used in .spec
23- Requires: gzip
23+ Requires: pigz
2424# in case .xz is used in .spec
2525Requires: xz
2626# for find and xargs
Original file line number Diff line number Diff line change @@ -332,15 +332,15 @@ find_compression () {
332332
333333 case " $SOURCE_FILENAME " in
334334 * .tar.gz)
335- COMPRESS_COMMAND=" gzip -n -1"
335+ COMPRESS_COMMAND=" pigz -n -1"
336336 COMPRESS_EXT=" tar.gz"
337337 ;;
338338 * .tgz)
339- COMPRESS_COMMAND=" gzip -n -1"
339+ COMPRESS_COMMAND=" pigz -n -1"
340340 COMPRESS_EXT=" tgz"
341341 ;;
342342 * .tar.bz2)
343- COMPRESS_COMMAND=" bzip2 -1"
343+ COMPRESS_COMMAND=" pbzip2 -1"
344344 COMPRESS_EXT=" tar.bz2"
345345 ;;
346346 * .tar.xz)
@@ -1171,7 +1171,7 @@ try_debian_packaging() {
11711171 find_deb_package_name
11721172
11731173 # generate "upstream" tarball for dpkg-source to diff against
1174- git_ls_files | tar --null --no-recursion -c --transform " s#^#${DEB_PACKAGE_NAME} -$VERSHA /#S" -T - | gzip -1 > $MYOUTDIR /${DEB_PACKAGE_NAME} _$VERSHA .orig.tar.gz
1174+ git_ls_files | tar --null --no-recursion -c --transform " s#^#${DEB_PACKAGE_NAME} -$VERSHA /#S" -T - | pigz -1 > $MYOUTDIR /${DEB_PACKAGE_NAME} _$VERSHA .orig.tar.gz
11751175
11761176 # update debian/changelog from git log
11771177 changes_to_debian " $CHANGESFILE " > debian/changelog.git
You can’t perform that action at this time.
0 commit comments