summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorrsiddall <rsiddall>2009-08-11 21:30:27 +0000
committerrsiddall <rsiddall>2009-08-11 21:30:27 +0000
commit58b83f939fb1d6531ec16533733dbde281d4b2dc (patch)
tree0e116fd84220bf4bf60ab1919dc62d7a0cfa3895 /Makefile
parent66f90856e0b21117a4e62f2bebec0908feda8fda (diff)
Reset RPM release number back to 1 on a new version release.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 1795f0459..35d904496 100644
--- a/Makefile
+++ b/Makefile
@@ -394,6 +394,7 @@ release:
# Update the RPM specfile
cvs edit ${RPM_SPECFILE}
perl -p -i -e "s/\d+[^\}]+/${VERSION}/ if /%define\s+version\s+(\d+[^\}]+)\}/;" ${RPM_SPECFILE}
+ perl -p -i -e "s/\d+[^\}]+/1/ if /%define\s+release\s+(\d+[^\}]+)\}/;" ${RPM_SPECFILE}
cvs commit -m "Updated for ${VERSION}" ${RPM_SPECFILE}
# Update the Debian changelog