[packages/adapter: 399/631] - rm --interactive=never addon

glen glen at pld-linux.org
Mon Sep 12 20:07:53 CEST 2016


commit 67fe737e475bb52e5c9ed20728cc3ee0759f63c5
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Fri Feb 8 13:19:17 2008 +0000

    - rm --interactive=never addon
    
    Changed files:
        adapter.awk -> 1.381

 adapter.awk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/adapter.awk b/adapter.awk
index 3913fe5..9afbcd7 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -1314,6 +1314,7 @@ function use_macros()
 	gsub("^make$", "%{__make}")
 	gsub("^make ", "%{__make} ")
 	gsub("^gcc ", "%{__cc} ")
+	gsub("^rm --interactive=never ", "%{__rm} ")
 
 	# mandrake specs
 	gsub("^%make$", "%{__make}")
@@ -1323,7 +1324,6 @@ function use_macros()
 	gsub("^%makeinstall", "%{__make} install \\\n\tDESTDIR=$RPM_BUILD_ROOT")
 	gsub("^%{__rm} -rf %{buildroot}", "rm -rf $RPM_BUILD_ROOT")
 	gsub("^%{__install}", "install")
-	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