[packages/adapter: 196/631] - kill some more macros

glen glen at pld-linux.org
Mon Sep 12 19:50:53 CEST 2016


commit b7ca53a578ca3d9b5e3785b8a83491e3acba31c7
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Sun Sep 25 11:53:34 2005 +0000

    - kill some more macros
    
    Changed files:
        adapter.awk -> 1.187

 adapter.awk | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/adapter.awk b/adapter.awk
index 4b45aed..4ffe852 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -857,7 +857,11 @@ function use_macros()
 	gsub("^%make$", "%{__make}")
 	gsub("^%make ", "%{__make} ")
 	gsub("^%makeinstall_std", "%{__make} install \\\n\tDESTDIR=$RPM_BUILD_ROOT")
+	gsub("^%{makeinstall}", "%{__make} install \\\n\tDESTDIR=$RPM_BUILD_ROOT")
 	gsub("^%{__rm} -rf %{buildroot}", "rm -rf $RPM_BUILD_ROOT")
+	gsub("^%{__install}", "install")
+	gsub("^%{__tar}", "tar")
+	gsub("^%{__rm}", "rm")
 	gsub("%optflags", "%{rpmcflags}")
 	gsub("%{compat_perl_vendorarch}", "%{perl_vendorarch}")
 
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list