template-specs: webapp.spec - cp with just -p

glen glen at pld-linux.org
Thu May 19 08:29:26 CEST 2011


Author: glen                         Date: Thu May 19 06:29:26 2011 GMT
Module: template-specs                Tag: HEAD
---- Log message:
- cp with just -p

---- Files affected:
template-specs:
   webapp.spec (1.62 -> 1.63) 

---- Diffs:

================================================================
Index: template-specs/webapp.spec
diff -u template-specs/webapp.spec:1.62 template-specs/webapp.spec:1.63
--- template-specs/webapp.spec:1.62	Sat Feb  5 10:33:00 2011
+++ template-specs/webapp.spec	Thu May 19 08:29:21 2011
@@ -3,7 +3,7 @@
 Summary(pl.UTF-8):	Pakiet używający konfiguracji aplikacji WWW
 Name:		template-webapp
 Version:	0.3
-Release:	0.1
+Release:	0.3
 License:	GPL
 Group:		Applications/WWW
 #Source0:	%{name}-%{version}.tar.gz
@@ -61,17 +61,17 @@
 install -d $RPM_BUILD_ROOT%{_sysconfdir}
 install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_appdir}}
 
-cp -a apache.conf $RPM_BUILD_ROOT%{_sysconfdir}/apache.conf
-cp -a apache.conf $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
-cp -a lighttpd.conf $RPM_BUILD_ROOT%{_sysconfdir}/lighttpd.conf
+cp -p apache.conf $RPM_BUILD_ROOT%{_sysconfdir}/apache.conf
+cp -p apache.conf $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
+cp -p lighttpd.conf $RPM_BUILD_ROOT%{_sysconfdir}/lighttpd.conf
 
 mv $RPM_BUILD_ROOT{%{_appdir},%{_sysconfdir}}/apache.conf
 mv $RPM_BUILD_ROOT{%{_appdir},%{_sysconfdir}}/lighttpd.conf
-cp -a $RPM_BUILD_ROOT%{_sysconfdir}/{apache,httpd}.conf
+cp -p $RPM_BUILD_ROOT%{_sysconfdir}/{apache,httpd}.conf
 
-cp -a %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/apache.conf
-cp -a %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/lighttpd.conf
-cp -a $RPM_BUILD_ROOT%{_sysconfdir}/{apache,httpd}.conf
+cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/apache.conf
+cp -p %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/lighttpd.conf
+cp -p $RPM_BUILD_ROOT%{_sysconfdir}/{apache,httpd}.conf
 
 # %webapp_* macros usage extracted from /usr/lib/rpm/macros.build:
 #
@@ -115,6 +115,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.63  2011/05/19 06:29:21  glen
+- cp with just -p
+
 Revision 1.62  2011/02/05 09:33:00  glen
 - no need to have config migration trigger samples
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/template-specs/webapp.spec?r1=1.62&r2=1.63&f=u



More information about the pld-cvs-commit mailing list