diff options
author | Remi Collet <fedora@famillecollet.com> | 2014-01-29 08:04:13 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2014-01-29 08:04:13 +0100 |
commit | c00b04169e87fb855e8a25498cad3ddf294ed903 (patch) | |
tree | ace6273c6767ca2f6e8ab5d79300902d6eebc597 | |
parent | da9b5ca762fa4414873862b9e51589a5b5a2a914 (diff) |
qelectrotech: 2788
-rwxr-xr-x | mksrc.sh | 5 | ||||
-rw-r--r-- | qelectrotech.spec | 11 |
2 files changed, 10 insertions, 6 deletions
@@ -5,7 +5,8 @@ if [ "$1" = "" ]; then exit 1 fi REV=$1 -VER=${2-0.3} +VER=${2-0.4} +RPM=$(php -r "printf('%.2f', $VER);") svn export -r $REV svn://svn.tuxfamily.org/svnroot/qet/qet/trunk qelectrotech-${VER}-svn${REV} tar czf qelectrotech-${VER}-svn${REV}.tgz qelectrotech-${VER}-svn${REV} @@ -14,6 +15,6 @@ rm -rf qelectrotech-${VER}-svn${REV} vendor="Remi Collet <remi@fedoraproject.org>" rpmdate=$(LC_ALL="C" date +"%a %b %d %Y") -sed -e "s/%changelog/%changelog\n* $rpmdate $vendor - ${VER}-2.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 diff --git a/qelectrotech.spec b/qelectrotech.spec index 9a906a5..f2256d2 100644 --- a/qelectrotech.spec +++ b/qelectrotech.spec @@ -1,6 +1,6 @@ -%global svnrel 2786 +%global svnrel 2788 %global rdate 20140128 -%global upver 0.3 +%global upver 0.4 Name: qelectrotech @@ -21,9 +21,9 @@ Summary(ru): Редактор электрических схем # Upstream version is a float so 0.11 < 0.2 < 0.21 < 0.3 # So use %.2f with upstream acknowledgment # Remember to check rdate and upver macro on each update -Version: 0.30 +Version: 0.40 %if %{?svnrel} -Release: 2.svn%{svnrel}%{?dist} +Release: 0.1.svn%{svnrel}%{?dist} %else Release: 1%{?dist} %endif @@ -226,6 +226,9 @@ fi %changelog +* Wed Jan 29 2014 Remi Collet <remi@fedoraproject.org> - 0.40-0.1.svn2788 +- Update to 0.4 snapshot revision 2788 + * Tue Jan 28 2014 Remi Collet <remi@fedoraproject.org> - 0.30-2.svn2786 - Update to 0.3 snapshot revision 2786 |