Bug 980625 - Use xz to compress tarball
Summary: Use xz to compress tarball
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: gcc
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-07-02 21:11 UTC by Ville Skyttä
Modified: 2013-07-07 08:07 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-07-04 16:17:58 UTC
Type: Bug


Attachments (Terms of Use)

Description Ville Skyttä 2013-07-02 21:11:35 UTC
Compressing the tarball with xz would save about 14 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.


diff --git a/gcc.spec b/gcc.spec
index 6929f54..e0054e9 100644
--- a/gcc.spec
+++ b/gcc.spec
@@ -79,3 +79,3 @@ Group: Development/Languages
-# svn export svn://gcc.gnu.org/svn/gcc/branches/redhat/gcc-4_7-branch@%{SVNREV} gcc-%{version}-%{DATE}
-# tar cf - gcc-%{version}-%{DATE} | bzip2 -9 > gcc-%{version}-%{DATE}.tar.bz2
-Source0: gcc-%{version}-%{DATE}.tar.bz2
+# svn export svn://gcc.gnu.org/svn/gcc/branches/redhat/gcc-4_8-branch@%{SVNREV} gcc-%{version}-%{DATE}
+# tar cf - gcc-%{version}-%{DATE} | xz > gcc-%{version}-%{DATE}.tar.xz
+Source0: gcc-%{version}-%{DATE}.tar.xz

Comment 1 Jakub Jelinek 2013-07-04 16:17:58 UTC
As the same tarballs are used for RHEL5-RHEL7 and Fedora 19+, and RHEL5 doesn't have xz, this is not possible.

Comment 2 Ville Skyttä 2013-07-07 08:07:32 UTC
Fine, note however the s/gcc-4_7-branch/gcc-4_8-branch/ fix for the svn export command.


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