[packages/calibre] - up to 2.33.0 - use max compression in generate-tarball.sh

baggins baggins at pld-linux.org
Sun Aug 2 15:33:19 CEST 2015


commit 7c33242d2817ab44f3aa39bde01001c91e5f4f3b
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun Aug 2 15:32:56 2015 +0200

    - up to 2.33.0
    - use max compression in generate-tarball.sh

 calibre.spec        | 4 ++--
 generate-tarball.sh | 6 +++++-
 2 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/calibre.spec b/calibre.spec
index bb937ae..177a99d 100644
--- a/calibre.spec
+++ b/calibre.spec
@@ -11,12 +11,12 @@
 Summary:	E-book converter and library management
 Summary(pl.UTF-8):	Konwerter oraz biblioteka dla e-booków
 Name:		calibre
-Version:	2.31.0
+Version:	2.33.0
 Release:	1
 License:	GPL v3+
 Group:		Applications/Multimedia
 Source0:	%{name}-%{version}-nofonts.tar.xz
-# Source0-md5:	b3a96168c3bcd97d5b9f3d5736fe3b64
+# Source0-md5:	102828023a9661d0767a5677f08fb66e
 Source1:	generate-tarball.sh
 Source2:	%{name}-mount-helper
 Patch0:		%{name}-prefix.patch
diff --git a/generate-tarball.sh b/generate-tarball.sh
index 3aeec00..3e4324d 100755
--- a/generate-tarball.sh
+++ b/generate-tarball.sh
@@ -6,4 +6,8 @@ tar -xvJf calibre-$VERSION.tar.xz
 rm -f calibre-$VERSION/resources/fonts/liberation/*
 rm -f calibre-$VERSION/resources/fonts/prs500/*
 
-tar -cvJf calibre-$VERSION-nofonts.tar.xz calibre-$VERSION
+tar -cf - calibre-$VERSION | xz -9vv >calibre-$VERSION-nofonts.tar.xz
+
+echo
+
+md5sum calibre-$VERSION-nofonts.tar.xz
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/calibre.git/commitdiff/7c33242d2817ab44f3aa39bde01001c91e5f4f3b



More information about the pld-cvs-commit mailing list