packages: naviagent/naviagent.spec - rename to naviagent, and private log a...

glen glen at pld-linux.org
Mon Feb 8 17:42:21 CET 2010


Author: glen                         Date: Mon Feb  8 16:42:20 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- rename to naviagent, and private log and run dirs

---- Files affected:
packages/naviagent:
   naviagent.spec (1.6 -> 1.7) 

---- Diffs:

================================================================
Index: packages/naviagent/naviagent.spec
diff -u packages/naviagent/naviagent.spec:1.6 packages/naviagent/naviagent.spec:1.7
--- packages/naviagent/naviagent.spec:1.6	Mon Feb  8 16:45:18 2010
+++ packages/naviagent/naviagent.spec	Mon Feb  8 17:42:15 2010
@@ -1,9 +1,9 @@
 # $Revision$, $Date$
 Summary:	Navisphere Agent and CLI
 Summary(pl.UTF-8):	Agent i interfejs linii poleceń do Navisphere
-Name:		naviagentcli
+Name:		naviagent
 Version:	6.26.0.2.24
-Release:	0.4
+Release:	0.5
 License:	EMC Corp
 Group:		Applications/System
 %if 0
@@ -11,13 +11,14 @@
 # NoSource0-md5:	d94cec5596ee7aec1635de9140b27a89
 NoSource:	0
 %endif
-Source1:	naviagent.init
+Source1:	%{name}.init
 URL:		https://powerlink.emc.com/
 BuildRequires:	rpmbuild(macros) >= 1.268
 Requires(post,preun):	/sbin/chkconfig
 # for 32bit libgcc
 Requires:	libgcc_s.so.1
 Requires:	rc-scripts
+Obsoletes:	naviagentcli
 ExclusiveArch:	%{ix86}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -43,12 +44,12 @@
 mv etc/Navisphere/* etc
 %else
 mv opt/Navisphere/bin .
-mv opt/Navisphere/etc .
+mv opt/Navisphere/''etc .
 %endif
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_sbindir},/etc/rc.d/init.d,/etc/Navisphere}
+install -d $RPM_BUILD_ROOT{%{_sbindir},/etc/rc.d/init.d,/etc/Navisphere,/var/{log,run}/naviagent}
 install -p bin/{naviagent,navicli,naviseccli} $RPM_BUILD_ROOT%{_sbindir}
 install -p %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/naviagent
 cp -a etc/SupportedFlareRevisions etc/agent.config $RPM_BUILD_ROOT%{_sysconfdir}/Navisphere
@@ -75,6 +76,8 @@
 %attr(755,root,root) %{_sbindir}/naviagent
 %attr(755,root,root) %{_sbindir}/navicli
 %attr(755,root,root) %{_sbindir}/naviseccli
+%dir %attr(750,root,root) /var/run/naviagent
+%dir %attr(750,root,root) /var/log/naviagent
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -82,6 +85,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.7  2010/02/08 16:42:15  glen
+- rename to naviagent, and private log and run dirs
+
 Revision 1.6  2010/02/08 15:45:18  glen
 - avoid empty debuginfo
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/naviagent/naviagent.spec?r1=1.6&r2=1.7&f=u



More information about the pld-cvs-commit mailing list