SPECS: rlocate.spec - fixed %files, cron and init

paszczus paszczus at pld-linux.org
Mon Aug 22 22:56:56 CEST 2005


Author: paszczus                     Date: Mon Aug 22 20:56:56 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fixed %files, cron and init

---- Files affected:
SPECS:
   rlocate.spec (1.30 -> 1.31) 

---- Diffs:

================================================================
Index: SPECS/rlocate.spec
diff -u SPECS/rlocate.spec:1.30 SPECS/rlocate.spec:1.31
--- SPECS/rlocate.spec:1.30	Mon Aug 22 22:29:54 2005
+++ SPECS/rlocate.spec	Mon Aug 22 22:56:51 2005
@@ -160,7 +160,10 @@
 %install
 rm -rf $RPM_BUILD_ROOT
 
+install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
+install -d $RPM_BUILD_ROOT/etc/cron.daily
 install contrib/rlocate.redhat $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
+install rlocate.cron $RPM_BUILD_ROOT/etc/cron.daily/rlocate
 
 %if %{with userspace}
 %{__make} install \
@@ -220,9 +223,6 @@
 %endif
 %endif
 
-%attr(754,root,root) /etc/rc.d/init.d/%{name}
-%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name}
-
 %if %{with userspace}
 %files
 %defattr(644,root,root,755)
@@ -245,12 +245,17 @@
 %dir %attr(750,root,rlocate) /var/lib/rlocate
 %endif
 
+%attr(754,root,root) /etc/rc.d/init.d/%{name}
+
 %define	date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <feedback at pld-linux.org>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.31  2005/08/22 20:56:51  paszczus
+- fixed %files, cron and init
+
 Revision 1.30  2005/08/22 20:29:54  paszczus
 - fixed %post and %postun section
 - build failed cause: cc1: Permission denied: opening dependency file scripts/basic/.fixdep.d
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/rlocate.spec?r1=1.30&r2=1.31&f=u




More information about the pld-cvs-commit mailing list