packages: nagios-ocpd/nagios-ocpd.spec - preserve timestamps

glen glen at pld-linux.org
Tue Dec 1 09:46:25 CET 2009


Author: glen                         Date: Tue Dec  1 08:46:25 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- preserve timestamps

---- Files affected:
packages/nagios-ocpd:
   nagios-ocpd.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: packages/nagios-ocpd/nagios-ocpd.spec
diff -u packages/nagios-ocpd/nagios-ocpd.spec:1.2 packages/nagios-ocpd/nagios-ocpd.spec:1.3
--- packages/nagios-ocpd/nagios-ocpd.spec:1.2	Tue Dec  1 09:45:31 2009
+++ packages/nagios-ocpd/nagios-ocpd.spec	Tue Dec  1 09:46:20 2009
@@ -38,8 +38,8 @@
 
 %prep
 %setup -qcT
-install %{SOURCE0} .
-cp %{SOURCE1} .
+install -p %{SOURCE0} .
+cp -a %{SOURCE1} .
 
 %build
 %{__perl} -c ocpd.pl
@@ -47,10 +47,10 @@
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_libdir},%{_spooldir},/etc/rc.d/init.d}
-install ocpd.pl $RPM_BUILD_ROOT%{_libdir}/ocpd
+install -p ocpd.pl $RPM_BUILD_ROOT%{_libdir}/ocpd
 touch $RPM_BUILD_ROOT%{_spooldir}/host-perfdata.fifo
 touch $RPM_BUILD_ROOT%{_spooldir}/service-perfdata.fifo
-install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
+install -p %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -86,6 +86,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2009/12/01 08:46:20  glen
+- preserve timestamps
+
 Revision 1.2  2009/12/01 08:45:31  glen
 - release 1
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/nagios-ocpd/nagios-ocpd.spec?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list