Use XZ compression for the upstream tarball
Emmanuel Bourg
8 years ago
0 | 0 |
libcommons-validator-java (1:1.4.1-2) UNRELEASED; urgency=medium
|
1 | 1 |
|
2 | 2 |
* Build with the DH sequencer instead of CDBS
|
|
3 |
* Use XZ compression for the upstream tarball
|
3 | 4 |
|
4 | 5 |
-- Emmanuel Bourg <ebourg@apache.org> Sun, 06 Dec 2015 23:04:14 +0100
|
5 | 6 |
|
|
0 |
#!/bin/sh
|
|
1 |
|
|
2 |
set -e
|
|
3 |
|
|
4 |
PACKAGE=$(dpkg-parsechangelog -S Source)
|
|
5 |
VERSION=$2
|
|
6 |
TAR=../${PACKAGE}_${VERSION}.orig.tar.xz
|
|
7 |
DIR=${PACKAGE}_${VERSION}
|
|
8 |
TAG=$(echo "VALIDATOR_$VERSION" | sed -re's,\.,_,g')
|
|
9 |
|
|
10 |
svn export http://svn.apache.org/repos/asf/commons/proper/validator/tags/${TAG} $DIR
|
|
11 |
XZ_OPT=--best tar -c -J -f $TAR $DIR
|
|
12 |
rm -rf $DIR ../$TAG
|
8 | 8 |
dh_installchangelogs RELEASE-NOTES.txt
|
9 | 9 |
|
10 | 10 |
get-orig-source:
|
11 | |
uscan --download-current-version --force-download --rename
|
|
11 |
uscan --download-current-version --force-download --no-symlink
|
0 | 0 |
version=3
|
1 | |
http://archive.apache.org/dist/commons/validator/source/ commons-validator-(.*)-src\.tar\.gz
|
|
1 |
opts="uversionmangle=s/_/./g" \
|
|
2 |
http://svn.apache.org/viewvc/commons/proper/validator/tags/ VALIDATOR_([\d_]*)/ \
|
|
3 |
debian debian/orig-tar.sh
|