[packages/adapter: 31/631] - removed duplicated %buildroot definitions.
glen
glen at pld-linux.org
Mon Sep 12 19:37:04 CEST 2016
commit 72dab82a7a89943907c326acb54f5844e477d062
Author: Sebastian Zagrodzki <sebek at zagrodzki.net>
Date: Thu Mar 30 17:37:53 2000 +0000
- removed duplicated %buildroot definitions.
Changed files:
adapter.awk -> 1.31
adapter.awk | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
---
diff --git a/adapter.awk b/adapter.awk
index 7871f8b..c8ae0bf 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -206,7 +206,7 @@ preamble == 1 {
next
if (field ~ /buildroot:/)
- $2 = "/tmp/%{name}-%{version}-root-%(id -u -n)"
+ $2 = "%{tmpdir}/%{name}-%{version}-root-%(id -u -n)"
if (field ~ /group:/) {
format_preamble()
@@ -246,9 +246,6 @@ preamble == 1 {
if (field ~ /patch:/)
$1 = "Patch0:"
- if (fiels ~ /buildroot:/)
- $2 = "%{tmpdir}/%{name}-%{dir}"
-
format_preamble()
if ($1 ~ /%define/) {
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/adapter.git/commitdiff/6ca0126d4d0c8c79feb7db10b0a0fade0f3b8885
More information about the pld-cvs-commit
mailing list