[packages/rpm-build-tools] allow redefine _applnkdir in .spec

glen glen at pld-linux.org
Tue May 27 12:29:59 CEST 2014


commit 5baa151d354481942ebede5277ad8b0e9f773d8c
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Mon May 26 23:54:29 2014 +0300

    allow redefine _applnkdir in .spec

 adapter.awk | 5 -----
 1 file changed, 5 deletions(-)
---
diff --git a/adapter.awk b/adapter.awk
index abb0ddd..f72d321 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -144,11 +144,6 @@ function b_makekey(a, b,	s) {
 }
 
 /^%define/ {
-	# Remove defining _applnkdir (this macro has been included in rpm-3.0.4)
-	if ($2 == "_applnkdir") {
-		next
-	}
-
 	# FIXME: this section will likely never match after cvs->git migration
 	if ($2 == "date") {
 		if (did_files == 0) {
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rpm-build-tools.git/commitdiff/5baa151d354481942ebede5277ad8b0e9f773d8c



More information about the pld-cvs-commit mailing list