Bug 980626

Summary: Use xz to compress tarball
Product: [Fedora] Fedora Reporter: Ville Skyttä <ville.skytta>
Component: ghdlAssignee: Thomas Sailer <fedora>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: rawhideCC: fedora
Target Milestone: ---Keywords: EasyFix, Patch
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
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 15:22:58 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-07-02 21:15:39 UTC
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 21:19:07 UTC
Thanks for the patch and the offer to take care of it - I gladly accept it. Thank you!