[packages/adapter: 30/631] - %{tmpdir} in RPM_BUILD_ROOT

glen glen at pld-linux.org
Mon Sep 12 19:36:59 CEST 2016


commit 54fa6f739a7de50dec926c294d098af04170443c
Author: Sebastian Zagrodzki <sebek at zagrodzki.net>
Date:   Thu Mar 30 17:22:59 2000 +0000

    - %{tmpdir} in RPM_BUILD_ROOT
    
    Changed files:
        adapter.awk -> 1.30

 adapter.awk | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/adapter.awk b/adapter.awk
index 2413c15..7871f8b 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -245,6 +245,9 @@ preamble == 1 {
 
 	if (field ~ /patch:/)
 		$1 = "Patch0:"
+	
+	if (fiels ~ /buildroot:/)
+		$2 = "%{tmpdir}/%{name}-%{dir}"
 
 	format_preamble()
 	
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list