Commit ab7fc16b authored by Emmanuel Bourg's avatar Emmanuel Bourg

Replaced debian/orig-tar.sh with the Files-Excluded mechanism

parent d28ae18a
ant (1.10.4-3) UNRELEASED; urgency=medium
* Team upload.
* Replaced debian/orig-tar.sh with the Files-Excluded mechanism
-- Emmanuel Bourg <ebourg@apache.org> Mon, 16 Jul 2018 15:06:12 +0200
ant (1.10.4-2) unstable; urgency=medium
* Team upload.
......
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: Apache Ant
Source: http://ant.apache.org
Files-Excluded: *.jar
Files: *
Copyright: 2000-2018, The Apache Software Foundation
......
#!/bin/sh -e
VERSION=$2
ORIG_TAR=$3
TAR=../ant_$VERSION.orig.tar.xz
DIR=apache-ant-$VERSION
tar xvzf $ORIG_TAR
rm $ORIG_TAR
XZ_OPT=--best tar -c -J -f $TAR --exclude '*.jar' --exclude '*.pdf' $DIR
rm -rf $DIR
# move to directory 'tarballs'
if [ -r .svn/deb-layout ]; then
. .svn/deb-layout
mv $TAR $origDir
echo "moved $TAR to $origDir"
fi
version=2
https://www.apache.org/dist/ant/source/apache-ant-(.*)-src\.tar\.gz debian debian/orig-tar.sh
version=4
opts="repack,compression=xz" \
https://www.apache.org/dist/ant/source/apache-ant-(.*)-src\.tar\.gz
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment