[packages/adapter: 36/631] version 0.17 - fixed bug with buildroot setting

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


commit 376e6bc49fc2772b9c98e54e12843ad172a49e26
Author: kura <kura at pld-linux.org>
Date:   Tue Apr 4 16:44:04 2000 +0000

    version 0.17
    - fixed bug with buildroot setting
    
    Changed files:
        adapter.awk -> 1.36

 adapter.awk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/adapter.awk b/adapter.awk
index f45d0fb..54a2a3c 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -1,6 +1,6 @@
 #!/bin/awk -f
 #
-# This is adapter v0.16. Adapter adapts .spec files for PLD.
+# This is adapter v0.17. Adapter adapts .spec files for PLD.
 # Copyright (C) 1999 Micha� Kuratczyk <kura at pld.org.pl>
 
 BEGIN {
@@ -210,7 +210,7 @@ preamble == 1 {
 		next
 	
 	if (field ~ /buildroot:/)
-		$2 = "%{tmpdir}/%{name}-%{version}-root-%(id -u -n)"
+		$0 = $1 "%{tmpdir}/%{name}-%{version}-root-%(id -u -n)"
 
 	if (field ~ /group:/) {
 		format_preamble()
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list