[packages/smokeping] shebang autodeps

glen glen at pld-linux.org
Sun Feb 28 22:25:06 CET 2016


commit 026de298daa75771a86e86e06bc68dec91ea4651
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Feb 28 23:25:00 2016 +0200

    shebang autodeps

 smokeping.spec | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/smokeping.spec b/smokeping.spec
index 35d7355..73ba778 100644
--- a/smokeping.spec
+++ b/smokeping.spec
@@ -134,14 +134,13 @@ mv $RPM_BUILD_ROOT%{_bindir}/smokeping_cgi $RPM_BUILD_ROOT%{_cgi_bindir}/smokepi
 mv $RPM_BUILD_ROOT%{_mandir}/man1/{smokeping_cgi.1,smokeping.cgi.1}
 # end of fixing paths
 
-cp -p %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
+install -p %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
 cp -p %{SOURCE2} $RPM_BUILD_ROOT%{_wwwconfdir}/apache.conf
 cp -p %{SOURCE6} $RPM_BUILD_ROOT%{_wwwconfdir}/httpd.conf
 cp -p %{SOURCE4} $RPM_BUILD_ROOT%{_wwwconfdir}/lighttpd.conf
 cp -p %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/config
 cp -p %{SOURCE5} $RPM_BUILD_ROOT%{systemdtmpfilesdir}/%{name}.conf
 
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/smokeping.git/commitdiff/026de298daa75771a86e86e06bc68dec91ea4651



More information about the pld-cvs-commit mailing list