[Nagios-checkins] SF.net SVN: nagios:[2069] nagioscore/trunk/update-version

ageric at users.sourceforge.net ageric at users.sourceforge.net
Fri Aug 17 12:03:45 UTC 2012

Revision: 2069
Author:   ageric
Date:     2012-08-17 12:03:45 +0000 (Fri, 17 Aug 2012)
Log Message:
Fix update-version script to work with new specfile

We forgot this when the specfile was updated. With this patch it
will properly change value when we go to 4.0.

Signed-off-by: Andreas Ericsson <ae at op5.se>

Modified Paths:

Modified: nagioscore/trunk/update-version
--- nagioscore/trunk/update-version	2012-08-17 12:03:29 UTC (rev 2068)
+++ nagioscore/trunk/update-version	2012-08-17 12:03:45 UTC (rev 2069)
@@ -64,7 +64,7 @@
 perl -i -p -e "s/PKG_REL_DATE=.*\"/PKG_REL_DATE=\"$SHORTDATE\"/;" configure.in
 # Update RPM spec file with version number
-perl -i -p -e "s/%define version .*/%define version $newversion/;" nagios.spec
+perl -i -p -e "s/Version: .*/Version: $newversion/;" nagios.spec
 # Update quickstart guides with new version number
 #perl -i -p -e "s/nagios-$lastversion/nagios-$newversion/;" html/docs/quickstart-fedora.html

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.

More information about the Nagios-commits mailing list