Bug 982387 - Use xz to compress tarball
Use xz to compress tarball
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: community-mysql (Show other bugs)
rawhide
Unspecified Unspecified
unspecified Severity low
: ---
: ---
Assigned To: Honza Horak
Fedora Extras Quality Assurance
: EasyFix, Patch
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-08 17:30 EDT by Ville Skyttä
Modified: 2013-07-09 06:29 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-07-09 06:29:29 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Ville Skyttä 2013-07-08 17:30:08 EDT
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 06:29:29 EDT
Thanks for this, done in Rawhide, it will get to F19 with the next update.

Note You need to log in before you can comment on or make changes to this bug.