diff options
-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} |