SPECS: intersync.spec - %config(), %verify() for config file - cosm...

darekr darekr at pld-linux.org
Thu Aug 11 18:37:03 CEST 2005


Author: darekr                       Date: Thu Aug 11 16:37:03 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- %config(),%verify() for config file
- cosmetics

---- Files affected:
SPECS:
   intersync.spec (1.11 -> 1.12) 

---- Diffs:

================================================================
Index: SPECS/intersync.spec
diff -u SPECS/intersync.spec:1.11 SPECS/intersync.spec:1.12
--- SPECS/intersync.spec:1.11	Sun May  1 19:31:30 2005
+++ SPECS/intersync.spec	Thu Aug 11 18:36:56 2005
@@ -56,13 +56,12 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
-
-install -d $RPM_BUILD_ROOT/var/log/intermezzo \
-	$RPM_BUILD_ROOT%{_sysconfdir}/intermezzo \
+install -d $RPM_BUILD_ROOT{/var/log/intermezzo,%{_sysconfdir}/intermezzo} \
 	$RPM_BUILD_ROOT/etc/{rc.d/init.d,sysconfig}
 
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
 install sampleconfigs/intersync.conf $RPM_BUILD_ROOT%{_sysconfdir}/intermezzo
 
 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/intersync
@@ -96,9 +95,9 @@
 %attr(755,root,root) %{_bindir}/*
 %attr(755,root,root) %{_libdir}/intermezzo
 %attr(754,root,root) /etc/rc.d/init.d/intersync
-%attr(640,root,root) /etc/sysconfig/intersync
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/intersync
 %dir %{_sysconfdir}/intermezzo
-%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/intermezzo/intersync.conf
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/intermezzo/intersync.conf
 %{_mandir}/man[458]/*
 /var/log/intermezzo
 
@@ -112,6 +111,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.12  2005/08/11 16:36:56  darekr
+- %config(),%verify() for config file
+- cosmetics
+
 Revision 1.11  2005/05/01 17:31:30  glen
 - use %useradd/%groupadd macros
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/intersync.spec?r1=1.11&r2=1.12&f=u




More information about the pld-cvs-commit mailing list