Bugzilla (bugzilla.redhat.com) will be under maintenance for infrastructure upgrades and will not be unavailable on July 31st between 12:30 AM - 05:30 AM UTC. We appreciate your understanding and patience. You can follow status.redhat.com for details.
Bug 979191 - Compress tarball with xz
Summary: Compress tarball with xz
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: mrpt
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
Assignee: Rich Mattes
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-06-27 21:28 UTC by Ville Skyttä
Modified: 2013-06-29 19:22 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-06-29 19:22:18 UTC
Type: Bug


Attachments (Terms of Use)

Description Ville Skyttä 2013-06-27 21:28:07 UTC
Compressing the tarball with xz instead of bzip2 would save about 2 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/create_tarball_mrpt.sh b/create_tarball_mrpt.sh
index 58b0a89..22e7a7b 100644
--- a/create_tarball_mrpt.sh
+++ b/create_tarball_mrpt.sh
@@ -8 +8 @@ popd
-tar cjf mrpt-1.0.1-fedora.tar.bz2 mrpt-1.0.1
+tar cJf mrpt-1.0.1-fedora.tar.xz mrpt-1.0.1
diff --git a/mrpt.spec b/mrpt.spec
index 3a98683..bb82453 100644
--- a/mrpt.spec
+++ b/mrpt.spec
@@ -12 +12 @@ URL: http://www.mrpt.org/
-Source0: %{name}-%{version}-fedora.tar.bz2
+Source0: %{name}-%{version}-fedora.tar.xz

Comment 1 Rich Mattes 2013-06-29 02:26:56 UTC
I've got no problems with switching to xz with the patch you posted.  You can go ahead and take care of it if you'd like.

Comment 2 Rich Mattes 2013-06-29 03:30:21 UTC
Actually, I'm going to have to rebuild MRPT this weekend anyway to address some other bugs, I'll take care of re-compressing the source while I'm at it.


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