diff options
author | rsiddall <rsiddall> | 2008-04-02 16:57:57 +0000 |
---|---|---|
committer | rsiddall <rsiddall> | 2008-04-02 16:57:57 +0000 |
commit | e280f1a49c58d194006c01459263f464e6616e57 (patch) | |
tree | b4b172707fe6ada5f56d91001a20f03789311881 | |
parent | 499269bfd9a7989c94a3f0c35d6002b48a8c92f7 (diff) |
Quick fix to update the release version number in the RPM spec file.
This leaves the spec file unusable for CVS builds.
-rw-r--r-- | Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -105,6 +105,8 @@ FREESIDE_URL = "http://localhost/freeside/" #for now, same db as specified in DATASOURCE... eventually, otherwise? RT_DB_DATABASE = freeside +RPM_SPECFILE = install/rpm/freeside.spec + #--- @@ -348,6 +350,11 @@ clean: #release: upload-docs release: cd /home/ivan/freeside + + # Update the RPM specfile + perl -p -i -e "s/\d+[^\}]+/${VERSION}/ if /%define\s+version\s+(\d+[^\}]+)\}/;" ${RPM_SPECFILE} + cvs commit -m "Updated for ${VERSION}" ${RPM_SPECFILE} + #cvs tag ${TAG} cvs tag -F ${TAG} |