SPECS: socat.spec - tab, adapter

glen glen at pld-linux.org
Wed Feb 11 16:57:43 CET 2009


Author: glen                         Date: Wed Feb 11 15:57:43 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- tab, adapter

---- Files affected:
SPECS:
   socat.spec (1.27 -> 1.28) 

---- Diffs:

================================================================
Index: SPECS/socat.spec
diff -u SPECS/socat.spec:1.27 SPECS/socat.spec:1.28
--- SPECS/socat.spec:1.27	Wed Feb 11 13:58:09 2009
+++ SPECS/socat.spec	Wed Feb 11 16:57:38 2009
@@ -64,7 +64,7 @@
 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
 install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/%{name}
 
-cat >> $RPM_BUILD_ROOT/etc/%{name}/example.conf <<'EOF'
+cat >> $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/example.conf <<'EOF'
 # socat [options] <bi-address> <bi-address>
 OPTIONS=""
 BIADDRESS1="UNIX-LISTEN:/var/lib/mysql/mysql.sock,fork,user=mysql,group=mysql,mode=777"
@@ -80,15 +80,15 @@
 
 %preun
 if [ "$1" = "0" ]; then
-        %service socat stop
-        /sbin/chkconfig --del socat
+	%service socat stop
+	/sbin/chkconfig --del socat
 fi
 
 %files
 %defattr(644,root,root,755)
 %doc BUGREPORTS CHANGES DEVELOPMENT EXAMPLES FAQ README SECURITY
-%dir /etc/%{name}
-%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/%{name}/*.conf
+%dir %{_sysconfdir}/%{name}
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/*.conf
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name}
 %attr(754,root,root) /etc/rc.d/init.d/%{name}
 %attr(755,root,root) %{_bindir}/*
@@ -101,6 +101,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.28  2009/02/11 15:57:38  glen
+- tab, adapter
+
 Revision 1.27  2009/02/11 12:58:09  blues
 - typo
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/socat.spec?r1=1.27&r2=1.28&f=u



More information about the pld-cvs-commit mailing list