Bug 980626 - Use xz to compress tarball
Use xz to compress tarball
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: ghdl (Show other bugs)
rawhide
Unspecified Unspecified
unspecified Severity low
: ---
: ---
Assigned To: Thomas Sailer
Fedora Extras Quality Assurance
: EasyFix, Patch
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-02 17:15 EDT by Ville Skyttä
Modified: 2013-07-03 11:22 EDT (History)
1 user (show)

See Also:
Fixed In Version: ghdl-0.29-3.150svn.2.fc20
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-07-03 11:22:58 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-02 17:15:39 EDT
Compressing the gcc tarball with xz would save about 12 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.

BTW the recipe for recreating the tarball is broken, the fix below fixes it too:

diff --git a/ghdl.spec b/ghdl.spec
index ffc1d4b..4930ab9 100644
--- a/ghdl.spec
+++ b/ghdl.spec
@@ -2 +2 @@
-%global gccdate 20121109
+%global gccdate 20121110
@@ -27,2 +27,2 @@ URL: http://ghdl.free.fr/
-# svn export svn://gcc.gnu.org/svn/gcc/branches/redhat/gcc-4_7-branch@%{SVNREV} gcc-%{gccver}-%{gccdate}
-# tar cf - gcc-%{gccver}-%{gccdate} | bzip2 -9 > gcc-%{gccver}-%{gccdate}.tar.bz2
+# svn export 'svn://gcc.gnu.org/svn/gcc/branches/redhat/gcc-4_7-branch@{%{gccdate}}' gcc-%{gccver}-%{gccdate}
+# tar cf - gcc-%{gccver}-%{gccdate} | xz > gcc-%{gccver}-%{gccdate}.tar.xz
@@ -30 +30 @@ URL: http://ghdl.free.fr/
-Source0: gcc-%{gccver}-%{gccdate}.tar.bz2
+Source0: gcc-%{gccver}-%{gccdate}.tar.xz
Comment 1 Thomas Sailer 2013-07-02 17:19:07 EDT
Thanks for the patch and the offer to take care of it - I gladly accept it. Thank you!

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