projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66f9085
)
Reset RPM release number back to 1 on a new version release.
author
rsiddall
<rsiddall>
Tue, 11 Aug 2009 21:30:27 +0000
(21:30 +0000)
committer
rsiddall
<rsiddall>
Tue, 11 Aug 2009 21:30:27 +0000
(21:30 +0000)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index
1795f04
..
35d9044
100644
(file)
--- 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