[packages/tcp_wrappers] - preserve mtime

glen glen at pld-linux.org
Wed Sep 26 17:33:10 CEST 2012


commit 97b6484210265cb304a8eb41002f2af1ef871afe
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Wed Sep 26 18:27:04 2012 +0300

    - preserve mtime

 tcp_wrappers.spec | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/tcp_wrappers.spec b/tcp_wrappers.spec
index 0b71626..1a07cd7 100644
--- a/tcp_wrappers.spec
+++ b/tcp_wrappers.spec
@@ -229,11 +229,11 @@ mv $RPM_BUILD_ROOT%{_libdir}/libwrap.so.*.*.* $RPM_BUILD_ROOT/%{_lib}
 ln -sf /%{_lib}/$(cd $RPM_BUILD_ROOT/%{_lib} ; echo libwrap.so.*.*.*) \
         $RPM_BUILD_ROOT%{_libdir}/libwrap.so
 
-install	hosts_access.3			$RPM_BUILD_ROOT%{_mandir}/man3
-install {hosts_access,hosts_options}.5	$RPM_BUILD_ROOT%{_mandir}/man5
-install {tcpd,tcpdchk,tcpdmatch}.8	$RPM_BUILD_ROOT%{_mandir}/man8
+cp -p hosts_access.3			$RPM_BUILD_ROOT%{_mandir}/man3
+cp -p {hosts_access,hosts_options}.5	$RPM_BUILD_ROOT%{_mandir}/man5
+cp -p {tcpd,tcpdchk,tcpdmatch}.8	$RPM_BUILD_ROOT%{_mandir}/man8
 
-install %{SOURCE1} %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/tcpd
+cp -p %{SOURCE1} %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/tcpd
 
 echo ".so hosts_access.5" > $RPM_BUILD_ROOT%{_mandir}/man5/hosts.allow.5
 echo ".so hosts_access.5" > $RPM_BUILD_ROOT%{_mandir}/man5/hosts.deny.5
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/tcp_wrappers.git/commitdiff/fa63d456967e40fdb78deda0902fd07b9803c0bb



More information about the pld-cvs-commit mailing list