Bug 982387

Summary: Use xz to compress tarball
Product: [Fedora] Fedora Reporter: Ville Skyttä <ville.skytta>
Component: community-mysqlAssignee: Honza Horak <hhorak>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: rawhideCC: hhorak, jstanek
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-07-09 10:29:29 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-07-08 21:30:08 UTC
Compressing the tarball with xz would save about 9 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/community-mysql.spec b/community-mysql.spec
index 267cb6b..6b929f7 100644
--- a/community-mysql.spec
+++ b/community-mysql.spec
@@ -20 +20 @@ License: GPLv2 with exceptions and LGPLv2 and BSD
-Source0: mysql-%{version}-nodocs.tar.gz
+Source0: mysql-%{version}-nodocs.tar.xz
diff --git a/generate-tarball.sh b/generate-tarball.sh
index d3e859b..7781f32 100755
--- a/generate-tarball.sh
+++ b/generate-tarball.sh
@@ -12 +12 @@ rm mysql-$VERSION/man/*
-tar cfz mysql-$VERSION-nodocs.tar.gz mysql-$VERSION || exit 1
+tar cfJ mysql-$VERSION-nodocs.tar.xz mysql-$VERSION || exit 1

Comment 1 Honza Horak 2013-07-09 10:29:29 UTC
Thanks for this, done in Rawhide, it will get to F19 with the next update.