[packages/adapter: 39/631] - added substitutions: s/^%{_sbindir}/%attr(755,root,root) %{_sbindir}/ s/^%{_bindir}/%attr(755,ro

glen glen at pld-linux.org
Mon Sep 12 19:37:44 CEST 2016


commit b35c10f15c66a8eb2033b55fc60c559d081c1b33
Author: kloczek <kloczek at pld-linux.org>
Date:   Fri Apr 14 04:05:49 2000 +0000

    - added substitutions:
            s/^%{_sbindir}/%attr(755,root,root) %{_sbindir}/
            s/^%{_bindir}/%attr(755,root,root) %{_bindir}/
    
    Changed files:
        adapter.awk -> 1.39

 adapter.awk | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/adapter.awk b/adapter.awk
index db01b99..5b31d8c 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -440,5 +440,8 @@ function use_macros()
 
 	gsub("%{PACKAGE_VERSION}", "%{version}")
 	gsub("%{PACKAGE_NAME}", "%{name}")
+
+	gsub("^%{_sbindir}", "%attr(755,root,root) %{_sbindir}")
+	gsub("^%{_bindir}", "%attr(755,root,root) %{_bindir}")
 }
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/adapter.git/commitdiff/6ca0126d4d0c8c79feb7db10b0a0fade0f3b8885



More information about the pld-cvs-commit mailing list