From 8898df10da4159bf7f0b38b9e204ef7b55774db1 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 30 Jan 2015 19:24:05 +0100 Subject: qelectrotech-debuginfo-0.40-0.5.svn3658 --- mksrc.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'mksrc.sh') diff --git a/mksrc.sh b/mksrc.sh index 1f6fced..649375e 100755 --- a/mksrc.sh +++ b/mksrc.sh @@ -10,15 +10,17 @@ RPM=$(php -r "printf('%.2f', $VER);") svn export -r $REV svn://svn.tuxfamily.org/svnroot/qet/qet/trunk qelectrotech-${VER}-svn${REV} -sed -e "/displayedVersion/s/${VER}-dev/${VER}-dev (Revision ${REV})/" \ +sed -e "/displayedVersion/s/\"[^\"]*\"/\"${VER}-dev (Revision ${REV})\"/" \ -i qelectrotech-${VER}-svn${REV}/sources/qet.h +grep 'displayedVersion' qelectrotech-${VER}-svn${REV}/sources/qet.h + tar czf qelectrotech-${VER}-svn${REV}.tgz qelectrotech-${VER}-svn${REV} 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.1.svn${REV}\n- Update to ${VER} snapshot revision ${REV}\n/" \ +sed -e "s/%changelog/%changelog\n* $rpmdate $vendor - ${RPM}-0.5.svn${REV}\n- Update to ${VER} snapshot revision ${REV}\n/" \ -e "/global svnrel/s/svnrel.*/svnrel $1/" \ -i *spec -- cgit