diff options
author | rsiddall <rsiddall> | 2008-04-02 17:00:22 +0000 |
---|---|---|
committer | rsiddall <rsiddall> | 2008-04-02 17:00:22 +0000 |
commit | dec6029a770e07d3485e9ebd1549bd52c71220e8 (patch) | |
tree | 5b4861d1495dcdcf8dfde3a7df91ff27f53729ab | |
parent | 72306cb82dd7f1d98f80886e084df8af080d8bca (diff) |
Quick fix to update the release version number in the RPM specfile.
This leaves the specfile unusable for CVS builds.
-rw-r--r-- | Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -103,6 +103,8 @@ FREESIDE_URL = "http://localhost/freeside/" #for now, same db as specified in DATASOURCE... eventually, otherwise? RT_DB_DATABASE = freeside +RPM_SPECFILE = rpm/freeside.spec + #--- @@ -346,6 +348,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} |