SPECS: csync2.spec - move configuration and other files into /etc/...

blues blues at pld-linux.org
Fri Jul 20 16:58:44 CEST 2007


Author: blues                        Date: Fri Jul 20 14:58:44 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- move configuration and other files into /etc/csync2 directory; proper
  manual fix

---- Files affected:
SPECS:
   csync2.spec (1.9 -> 1.10) 

---- Diffs:

================================================================
Index: SPECS/csync2.spec
diff -u SPECS/csync2.spec:1.9 SPECS/csync2.spec:1.10
--- SPECS/csync2.spec:1.9	Thu Jul 19 01:19:20 2007
+++ SPECS/csync2.spec	Fri Jul 20 16:58:39 2007
@@ -5,11 +5,12 @@
 Summary(pl.UTF-8):	Narzędzie do synchronizacji klastra
 Name:		csync2
 Version:	1.33
-Release:	0.4
+Release:	0.5
 License:	GPL v2
 Group:		Daemons
 Source0:	http://oss.linbit.com/csync2/%{name}-%{version}.tar.gz
 # Source0-md5:	e16e3c0f4285439cef09a6b63319a0b0
+Patch0:		%{name}-man_fix.patch
 URL:		http://oss.linbit.com/csync2/
 BuildRequires:	bison
 BuildRequires:	flex
@@ -20,6 +21,8 @@
 Requires:	setup > 2.4.10-4
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define		_sysconfdir	/etc/%{name}
+
 %description
 Csync2 is a cluster synchronization tool. It can be used to keep files
 on multiple hosts in a cluster in sync. Csync2 can handle complex
@@ -36,6 +39,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %configure
@@ -54,6 +58,7 @@
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog README TODO csync2.xinetd csync2_locheck.sh paper.pdf
+%dir %{_sysconfdir}
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/csync2.cfg
 %attr(755,root,root) %{_sbindir}/csync2
 %attr(755,root,root) %{_sbindir}/csync2-compare
@@ -66,6 +71,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.10  2007/07/20 14:58:39  blues
+- move configuration and other files into /etc/csync2 directory; proper
+  manual fix
+
 Revision 1.9  2007/07/18 23:19:20  blues
 - don't play with /etc/services - require proper version of setup
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/csync2.spec?r1=1.9&r2=1.10&f=u



More information about the pld-cvs-commit mailing list