From: Zack Cerza Date: Fri, 25 Oct 2024 22:49:20 +0000 (-0600) Subject: ceph.spec.in,make-dist: Use xz instead of bzip2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fheads%2Fspec-dwz-bcond;p=ceph.git ceph.spec.in,make-dist: Use xz instead of bzip2 xz supports multi-threaded compression and yields smaller artifacts. Signed-off-by: Zack Cerza --- diff --git a/ceph.spec.in b/ceph.spec.in index bfa4209112b22..feae42e3a9305 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -232,7 +232,7 @@ License: LGPL-2.1 and LGPL-3.0 and CC-BY-SA-3.0 and GPL-2.0 and BSL-1.0 and BSD- Group: System/Filesystems %endif URL: http://ceph.com/ -Source0: %{?_remote_tarball_prefix}@TARBALL_BASENAME@.tar.bz2 +Source0: %{?_remote_tarball_prefix}@TARBALL_BASENAME@.tar.xz %if 0%{?suse_version} # _insert_obs_source_lines_here ExclusiveArch: x86_64 aarch64 ppc64le s390x riscv64 diff --git a/make-dist b/make-dist index 033bedebd87f0..3450518adfe4b 100755 --- a/make-dist +++ b/make-dist @@ -217,6 +217,6 @@ mv $outfile.all.tar $outfile.tar rm $outfile echo "compressing..." -bzip2 -9 $outfile.tar +xz -T0 -6 -z $outfile.tar echo "done."