047965
#!/bin/bash
047965
047965
baseurl="https://svn.java.net/svn/jsp~svn/tags/"
047965
pkgname="javax.servlet.jsp-api"
047965
047965
version=`grep Version: *spec | sed -e 's/Version:\s*\(.*\)/\1/'`
047965
version="$version`sed -n 's/%global\s\+reltag\s\+/-/p' *.spec`"
047965
echo $version
047965
047965
svn export "${baseurl}/${pkgname}-${version}"
047965
tar cvJf ${pkgname}-${version}.tar.xz  ${pkgname}-${version}/