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