Use XZ compression for the upstream tarball
Emmanuel Bourg
9 years ago
1 | 1 |
|
2 | 2 |
* Switch to debhelper level 9
|
3 | 3 |
* Standards-Version updated to 3.9.5 (no changes)
|
|
4 |
* Use XZ compression for the upstream tarball
|
4 | 5 |
|
5 | 6 |
-- Emmanuel Bourg <ebourg@apache.org> Fri, 14 Feb 2014 00:06:41 +0100
|
6 | 7 |
|
2 | 2 |
# $2 = version
|
3 | 3 |
# $3 = file
|
4 | 4 |
DIR=libslf4j-java-$2.orig
|
5 | |
TAR=$3
|
|
5 |
TAR=../libslf4j-java_$2.orig.tar.xz
|
6 | 6 |
|
7 | 7 |
# clean up the upstream tarball
|
8 | |
tar xzf $TAR
|
|
8 |
tar xzf $3
|
|
9 |
rm $3
|
9 | 10 |
mv slf4j-$2 $DIR
|
10 | |
GZIP=--best tar czf $TAR -X debian/orig-tar.exclude $DIR
|
|
11 |
XZ_OPT=--best tar cJf $TAR -X debian/orig-tar.exclude $DIR
|
11 | 12 |
rm -rf $DIR
|
12 | 13 |
|
13 | 14 |
# move to directory 'tarballs'
|