[icinga-checkins] icinga.org: icinga-core/test/ido: icinga.spec: use custom revision macro, don't forget that on spec updates

git at icinga.org git at icinga.org
Sat Feb 25 21:17:20 CET 2012


Module: icinga-core
Branch: test/ido
Commit: 936d4e698434f82c0d4f073b4bd76af65a341ac3
URL:    https://git.icinga.org/?p=icinga-core.git;a=commit;h=936d4e698434f82c0d4f073b4bd76af65a341ac3

Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Fri Feb 24 20:04:04 2012 +0100

icinga.spec:  use custom revision macro, don't forget that on spec updates

---

 icinga.spec |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/icinga.spec b/icinga.spec
index 1392abc..f7191e8 100644
--- a/icinga.spec
+++ b/icinga.spec
@@ -6,6 +6,8 @@
 #
 # ExclusiveDist: el5 el6
 
+%define revision 4
+
 %define logdir %{_localstatedir}/log/icinga
 
 %define apacheconfdir  %{_sysconfdir}/httpd/conf.d
@@ -15,7 +17,7 @@
 Summary: Open Source host, service and network monitoring program
 Name: icinga
 Version: 1.6.1
-Release: 1%{?dist}
+Release: %{revision}%{?dist}
 License: GPLv2
 Group: Applications/System
 URL: http://www.icinga.org/
@@ -268,6 +270,7 @@ fi
 - use --libdir={_libdir}/icinga to install idomod.so instead of {_bindir} - see #2346
 - list {_libdir}/icinga/cgi/ cgis one by one, removing build warnings
 - remove macros in changelog warnings from rpmlint
+- use custom revision macro, don't forget that on spec updates
 
 * Thu Feb 23 2012 Michael Friedrich <michael.friedrich at univie.ac.at> - 1.6.1-3
 - use --with-plugin-dir instead of --libexexdir for nagios plugins dir introduced in #2344





More information about the icinga-checkins mailing list