[icinga-checkins] icinga.org: icinga-core/r1.8: icinga.spec: import from repoforge with rpmline fixes

git at icinga.org git at icinga.org
Fri Feb 15 00:56:22 CET 2013


Module: icinga-core
Branch: r1.8
Commit: 21538fdd8bef5ee004aa6ddb60171e7a8c0198f0
URL:    https://git.icinga.org/?p=icinga-core.git;a=commit;h=21538fdd8bef5ee004aa6ddb60171e7a8c0198f0

Author: Michael Friedrich <michael.friedrich at gmail.com>
Date:   Fri Feb 15 00:56:02 2013 +0100

icinga.spec: import from repoforge with rpmline fixes

---

 icinga.spec |   22 +++++++++++++---------
 1 files changed, 13 insertions(+), 9 deletions(-)

diff --git a/icinga.spec b/icinga.spec
index b9feb32..a63e92b 100644
--- a/icinga.spec
+++ b/icinga.spec
@@ -6,7 +6,7 @@
 #
 # ExclusiveDist: el5 el6
 
-%define revision 3
+%define revision 4
 
 %define logmsg logger -t %{name}/rpm
 
@@ -64,7 +64,7 @@ This package contains the webgui (html,css,cgi etc.) for %{name}
 
 %package devel
 Summary: Provides include files that Icinga-related applications may compile against
-Group: Development/Libraries/C and C++
+Group: Development/Libraries
 Requires: %{name} = %{version}
 
 %description devel
@@ -243,14 +243,14 @@ fi
 # cgi.cfg luckily knows where icinga.cfg is and does not need an update
 # retention.dat, objects.cache, objects.precache, status.dat, cmdfile, pidfile, checkresults
 %{__perl} -pi -e '
-        s|/var/icinga/retention.dat|%{spooldir}/retention.dat|;
-        s|/var/icinga/objects.precache|%{spooldir}/objects.precache|;
-        s|/var/icinga/objects.cache|%{spooldir}/objects.cache|;
-        s|/var/icinga/status.dat|%{spooldir}/status.dat|;
-        s|/var/icinga/rw/icinga.cmd|%{spooldir}/cmd/icinga.cmd|;
-        s|/var/icinga/icinga.pid|/var/run/icinga.pid|;
+	s|/var/icinga/retention.dat|%{spooldir}/retention.dat|;
+	s|/var/icinga/objects.precache|%{spooldir}/objects.precache|;
+	s|/var/icinga/objects.cache|%{spooldir}/objects.cache|;
+	s|/var/icinga/status.dat|%{spooldir}/status.dat|;
+	s|/var/icinga/rw/icinga.cmd|%{spooldir}/cmd/icinga.cmd|;
+	s|/var/icinga/icinga.pid|/var/run/icinga.pid|;
 	s|/var/icinga/checkresults|%{spooldir}/checkresults|;
-   ' /etc/icinga/icinga.cfg
+	' /etc/icinga/icinga.cfg
 
 # start icinga
 /sbin/service icinga start &>/dev/null || :
@@ -404,6 +404,7 @@ fi
 %{_includedir}/%{name}/
 
 %files idoutils
+%defattr(-,root,root)
 %doc README.idoutils.transitional
 
 %files idoutils-libdbi-mysql
@@ -432,6 +433,9 @@ fi
 
 
 %changelog
+* Fri Feb 15 2013 Michael Friedrich <michael.friedrich at netways.de> - 1.8.4-4
+- fix rpmlint errors/warnings
+
 * Wed Feb 06 2013 Michael Friedrich <michael.friedrich at netways.de> - 1.8.4-3
 - add idoutils as transitional package (thx Stefan Marx, Michael Grüner)
 





More information about the icinga-checkins mailing list