af32fff
#!/bin/bash
af32fff
af32fff
DATE=`date +%Y%m%d`
af32fff
# use a real tag name here
5c746a7
VERSION=1.2.5.rc2
af32fff
PKGNAME=389-ds-base
5d06950
TAG=${TAG:-$PKGNAME-$VERSION}
5d06950
URL="http://git.fedorahosted.org/git/?p=389/ds.git;a=snapshot;h=$TAG;sf=tgz"
af32fff
SRCNAME=$PKGNAME-$VERSION
af32fff
5d06950
wget -O $SRCNAME.tar.gz "$URL"
af32fff
5d06950
echo convert tgz format to tar.bz2 format
af32fff
5d06950
gunzip $PKGNAME-$VERSION.tar.gz
5d06950
bzip2 $PKGNAME-$VERSION.tar