SPECS: nagios-nsca.spec - moved daemon binary do %%sbindir - group...

havner havner at pld-linux.org
Tue Aug 9 15:40:02 CEST 2005


Author: havner                       Date: Tue Aug  9 13:40:02 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- moved daemon binary do %%sbindir
- groups patch
- rel 2

---- Files affected:
SPECS:
   nagios-nsca.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SPECS/nagios-nsca.spec
diff -u SPECS/nagios-nsca.spec:1.2 SPECS/nagios-nsca.spec:1.3
--- SPECS/nagios-nsca.spec:1.2	Mon Aug  8 15:02:01 2005
+++ SPECS/nagios-nsca.spec	Tue Aug  9 15:39:57 2005
@@ -7,13 +7,14 @@
 Summary(pl):	Demon NSCA dla Nagiosa
 Name:		nagios-nsca
 Version:	2.4
-Release:	1
+Release:	2
 License:	GPL
 Group:		Networking
 Source0:	ftp://distfiles.pld-linux.org/src/nsca-%{version}.tar.gz
 # Source0-md5:	ab58553a87940f574ec54189a43a70bc
 Source1:	%{name}.init
 Source2:	%{name}.submit
+Patch0:		%{name}-groups.patch
 URL:		http://www.nagios.org/
 BuildRequires:	autoconf
 BuildRequires:	libltdl-devel
@@ -47,6 +48,7 @@
 
 %prep
 %setup -q -n nsca-%{version}
+%patch0 -p1
 
 %build
 %{__autoconf}
@@ -57,9 +59,9 @@
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_sysconfdir}/nagios,/etc/rc.d/init.d} \
-	$RPM_BUILD_ROOT{%{_libdir}/nagios,%{_sbindir}}
+	$RPM_BUILD_ROOT%{_sbindir}
 
-install src/nsca $RPM_BUILD_ROOT%{_libdir}/nagios
+install src/nsca $RPM_BUILD_ROOT%{_sbindir}
 sed -e 's@^command_file=.*@command_file=/var/lib/nagios/rw/nagios.cmd@;s@^alternate_dump_file=.*@alternate_dump_file=/var/lib/nagios/rw/nsca.dump@' \
 	nsca.cfg > $RPM_BUILD_ROOT%{_sysconfdir}/nagios/nsca.cfg
 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/nagios-nsca
@@ -93,7 +95,7 @@
 %defattr(644,root,root,755)
 %attr(640,root,nagios) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/nagios/nsca.cfg
 %doc Changelog README SECURITY
-%attr(755,root,root) %{_libdir}/nagios/nsca
+%attr(755,root,root) %{_sbindir}/nsca
 %attr(754,root,root) /etc/rc.d/init.d/nagios-nsca
 
 %files client
@@ -108,6 +110,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2005/08/09 13:39:57  havner
+- moved daemon binary do %%sbindir
+- groups patch
+- rel 2
+
 Revision 1.2  2005/08/08 13:02:01  havner
 - new style bcond
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/nagios-nsca.spec?r1=1.2&r2=1.3&f=u




More information about the pld-cvs-commit mailing list