SPECS: iscsitarget.spec - BR: openssl-devel - uncomment service macros - th...

tommat tommat at pld-linux.org
Thu Sep 25 22:01:55 CEST 2008


Author: tommat                       Date: Thu Sep 25 20:01:55 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- BR: openssl-devel
- uncomment service macros
- there is no need for executable config

---- Files affected:
SPECS:
   iscsitarget.spec (1.20 -> 1.21) 

---- Diffs:

================================================================
Index: SPECS/iscsitarget.spec
diff -u SPECS/iscsitarget.spec:1.20 SPECS/iscsitarget.spec:1.21
--- SPECS/iscsitarget.spec:1.20	Wed Sep 24 21:47:12 2008
+++ SPECS/iscsitarget.spec	Thu Sep 25 22:01:50 2008
@@ -20,8 +20,8 @@
 Source2:	%{name}.sysconfig
 Patch0:		%{name}-include.patch
 URL:		http://iscsitarget.sourceforge.net/
-# for %%service:
-#BuildRequires:	rpmbuild(macros) >= 1.379
+BuildRequires:	rpmbuild(macros) >= 1.379
+BuildRequires:	openssl-devel
 %if %{with kernel}
 %{?with_dist_kernel:BuildRequires:	kernel-module-build >= 3:2.6.20.2}
 %endif
@@ -102,11 +102,11 @@
 
 %post
 /sbin/chkconfig --add targetiscsi
-#%%service targetiscsi restart "target iscsi"
+%service targetiscsi restart "target iscsi"
 
 %preun
 if [ "$1" = "0" ]; then
-#	%%service targetiscsi stop
+	%service targetiscsi stop
 	/sbin/chkconfig --del targetiscsi
 fi
 
@@ -115,7 +115,7 @@
 %defattr(644,root,root,755)
 %doc ChangeLog
 %attr(755,root,root) %{_sbindir}/*
-%attr(750,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ietd.conf
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ietd.conf
 %{_mandir}/man?/*
 %attr(754,root,root) /etc/rc.d/init.d/targetiscsi
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/targetiscsi
@@ -133,6 +133,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.21  2008/09/25 20:01:50  tommat
+- BR: openssl-devel
+- uncomment service macros
+- there is no need for executable config
+
 Revision 1.20  2008/09/24 19:47:12  tommat
 - up to 0.4.16
 - added include patch and define _GNU_SOURCE while building userspace
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/iscsitarget.spec?r1=1.20&r2=1.21&f=u



More information about the pld-cvs-commit mailing list