Bug 979824

Summary: Compress tarball with xz
Product: [Fedora] Fedora Reporter: Ville Skyttä <ville.skytta>
Component: java-1.7.0-openjdkAssignee: jiri vanek <jvanek>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: rawhideCC: ahughes, dbhole, jerboaa, jvanek, omajid
Target Milestone: ---Keywords: EasyFix
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-03 14:28:07 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-30 21:09:53 UTC
Compressing the 2.3.10 tarball with xz would save about 26 MB, see http://thread.gmane.org/gmane.linux.redhat.fedora.devel/181336

diff --git a/java-1.7.0-openjdk.spec b/java-1.7.0-openjdk.spec
index ad0a3e3..e90f339 100644
--- a/java-1.7.0-openjdk.spec
+++ b/java-1.7.0-openjdk.spec
@@ -169,2 +169,2 @@ URL:      http://openjdk.java.net/
-# tar czf openjdk-icedtea-%{icedtea_version}.tar.gz openjdk
-Source0:  openjdk-icedtea-%{icedtea_version}.tar.gz
+# tar cJf openjdk-icedtea-%{icedtea_version}.tar.xz openjdk
+Source0:  openjdk-icedtea-%{icedtea_version}.tar.xz


More savings would be available from the 2.1.9 tarball but there's no script to generate it nor links to download it from.

Comment 1 jiri vanek 2013-07-01 09:43:53 UTC
This is god idea. Thank you, it will be proposed.