SPECS: tgt.spec - add config

arekm arekm at pld-linux.org
Sun Mar 1 19:53:21 CET 2009


Author: arekm                        Date: Sun Mar  1 18:53:21 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- add config

---- Files affected:
SPECS:
   tgt.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SPECS/tgt.spec
diff -u SPECS/tgt.spec:1.3 SPECS/tgt.spec:1.4
--- SPECS/tgt.spec:1.3	Sun Mar  1 19:47:40 2009
+++ SPECS/tgt.spec	Sun Mar  1 19:53:16 2009
@@ -70,7 +70,7 @@
 %install
 rm -rf $RPM_BUILD_ROOT
 
-install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
+install -d $RPM_BUILD_ROOT/etc/{rc.d/init.d,tgt}
 install -d $RPM_BUILD_ROOT{%{_docdir}/%{name},%{_mandir}/man8}
 
 %{__make} -C usr install \
@@ -79,6 +79,7 @@
 
 install %{SOURCE1}		$RPM_BUILD_ROOT/etc/rc.d/init.d/tgt
 install doc/manpages/*.8	$RPM_BUILD_ROOT%{_mandir}/man8
+install doc/targets.conf.example	$RPM_BUILD_ROOT/etc/tgt/targets.conf
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -98,6 +99,8 @@
 %attr(755,root,root) %{_sbindir}/tgt*
 %{_mandir}/man8/*
 %attr(754,root,root) /etc/rc.d/init.d/tgt
+%attr(750, root, root) %dir %{_sysconfdir}/tgt
+%attr(750, root, root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/tgt/*.conf
 
 %define	date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -105,6 +108,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2009/03/01 18:53:16  arekm
+- add config
+
 Revision 1.3  2009/03/01 18:47:40  arekm
 - perl deps
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/tgt.spec?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list