Bug 979824 - Compress tarball with xz
Summary: Compress tarball with xz
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: java-1.7.0-openjdk
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
Assignee: jiri vanek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-06-30 21:09 UTC by Ville Skyttä
Modified: 2013-07-03 14:28 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-07-03 14:28:07 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


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