Bug 979191

Summary: Compress tarball with xz
Product: [Fedora] Fedora Reporter: Ville Skyttä <ville.skytta>
Component: mrptAssignee: Rich Mattes <richmattes>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: rawhideCC: richmattes
Target Milestone: ---Keywords: EasyFix, Patch
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-06-29 19:22:18 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ville Skyttä 2013-06-27 21:28:07 UTC
Compressing the tarball with xz instead of bzip2 would save about 2 MB, see http://thread.gmane.org/gmane.linux.redhat.fedora.devel/181336 and let me know if you'd like me to take care of this for devel.

diff --git a/create_tarball_mrpt.sh b/create_tarball_mrpt.sh
index 58b0a89..22e7a7b 100644
--- a/create_tarball_mrpt.sh
+++ b/create_tarball_mrpt.sh
@@ -8 +8 @@ popd
-tar cjf mrpt-1.0.1-fedora.tar.bz2 mrpt-1.0.1
+tar cJf mrpt-1.0.1-fedora.tar.xz mrpt-1.0.1
diff --git a/mrpt.spec b/mrpt.spec
index 3a98683..bb82453 100644
--- a/mrpt.spec
+++ b/mrpt.spec
@@ -12 +12 @@ URL: http://www.mrpt.org/
-Source0: %{name}-%{version}-fedora.tar.bz2
+Source0: %{name}-%{version}-fedora.tar.xz

Comment 1 Rich Mattes 2013-06-29 02:26:56 UTC
I've got no problems with switching to xz with the patch you posted.  You can go ahead and take care of it if you'd like.

Comment 2 Rich Mattes 2013-06-29 03:30:21 UTC
Actually, I'm going to have to rebuild MRPT this weekend anyway to address some other bugs, I'll take care of re-compressing the source while I'm at it.