Bug 980630 - Use xz to compress tarball
Use xz to compress tarball
Product: Fedora
Classification: Fedora
Component: glassfish-gmbal (Show other bugs)
Unspecified Unspecified
unspecified Severity low
: ---
: ---
Assigned To: gil cattaneo
Fedora Extras Quality Assurance
: EasyFix, Patch
Depends On:
  Show dependency treegraph
Reported: 2013-07-02 17:25 EDT by Ville Skyttä
Modified: 2013-07-02 18:52 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2013-07-02 18:52:01 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
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-02 17:25:13 EDT
Compressing the tarball with xz would save about 7 MB, see http://thread.gmane.org/gmane.linux.redhat.fedora.devel/181336

BTW the recipe in the specfile for recreating the tarball (even after the fixes below) does not for some reason result in the same contents as in the shipped tarball.

diff --git a/glassfish-gmbal.spec b/glassfish-gmbal.spec
index 58970a9..7a0bedd 100644
--- a/glassfish-gmbal.spec
+++ b/glassfish-gmbal.spec
@@ -15,3 +15,3 @@ URL:           http://java.net/projects/gmbal/pages/Home
-# rm -rf lib/*
-# tar czf glassfish-gmbal-3.2.0-b003-src-hg.tar.gz glassfish-gmbal-3.2.0-b003
-Source0:       %{name}-%{namedversion}-src-hg.tar.gz
+# rm -rf glassfish-gmbal-3.2.0-b003/lib/*
+# tar cJf glassfish-gmbal-3.2.0-b003-src-hg.tar.xz glassfish-gmbal-3.2.0-b003
+Source0:       %{name}-%{namedversion}-src-hg.tar.xz
Comment 1 gil cattaneo 2013-07-02 18:52:01 EDT
thanks for reporting this problem
should be fixed in glassfish-gmbal-3.2.0-0.2.b003.fc20

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