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 ++++-- qelectrotech.spec | 17 ++++++++++++++--- 2 files changed, 18 insertions(+), 5 deletions(-) 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 diff --git a/qelectrotech.spec b/qelectrotech.spec index b95f101..ea867ac 100644 --- a/qelectrotech.spec +++ b/qelectrotech.spec @@ -1,6 +1,14 @@ -#global svnrel 3371 +# spec file for qelectrotech +# +# Copyright (c) 2009-2015 Remi Collet +# License: CC-BY-SA +# http://creativecommons.org/licenses/by-sa/3.0/ +# +# Please, preserve the changelog entries +# +%global svnrel 3658 %global rdate 20141227 -%global upver 0.4rc2 +%global upver 0.4 Name: qelectrotech @@ -23,7 +31,7 @@ Summary(ru): Редактор электрических схем # Remember to check rdate and upver macro on each update Version: 0.40 %if 0%{?svnrel} -Release: 0.1.svn%{svnrel}%{?dist} +Release: 0.5.svn%{svnrel}%{?dist} %else Release: 0.4.rc2%{?dist} %endif @@ -229,6 +237,9 @@ fi %changelog +* Fri Jan 30 2015 Remi Collet - 0.40-0.5.svn3658 +- Update to 0.4 snapshot revision 3658 + * Sat Dec 27 2014 Remi Collet - 0.40-0.4.rc2 - Update to 0.4rc1 -- cgit