xz supports multi-threaded compression and yields smaller artifacts.
Signed-off-by: Zack Cerza <zack@redhat.com>
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
rm $outfile
echo "compressing..."
-bzip2 -9 $outfile.tar
+xz -T0 -6 -z $outfile.tar
echo "done."