From 14a6b3333af3212822736eb99d7c76aa3f87e89e Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sun, 22 Mar 2015 20:05:21 +0100 Subject: qelectrotech-0.50-0.1.svn3844 (Copr) --- mksrc.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mksrc.sh') diff --git a/mksrc.sh b/mksrc.sh index 649375e..cc89cde 100755 --- a/mksrc.sh +++ b/mksrc.sh @@ -5,7 +5,7 @@ if [ "$1" = "" ]; then exit 1 fi REV=$1 -VER=${2-0.4} +VER=${2-0.5} RPM=$(php -r "printf('%.2f', $VER);") svn export -r $REV svn://svn.tuxfamily.org/svnroot/qet/qet/trunk qelectrotech-${VER}-svn${REV} @@ -21,6 +21,6 @@ rm -rf qelectrotech-${VER}-svn${REV} vendor="Remi Collet " rpmdate=$(LC_ALL="C" date +"%a %b %d %Y") -sed -e "s/%changelog/%changelog\n* $rpmdate $vendor - ${RPM}-0.5.svn${REV}\n- Update to ${VER} snapshot revision ${REV}\n/" \ +sed -e "s/%changelog/%changelog\n* $rpmdate $vendor - ${RPM}-0.1.svn${REV}\n- Update to ${VER} snapshot revision ${REV}\n/" \ -e "/global svnrel/s/svnrel.*/svnrel $1/" \ -i *spec -- cgit