[packages/adapter: 189/631] - make use of macros (from commits list)

glen glen at pld-linux.org
Mon Sep 12 19:50:18 CEST 2016


commit b34b8660df7b95c5028fbdb8ef2bb1473d78f8f7
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Wed Sep 7 17:17:01 2005 +0000

    - make use of macros (from commits list)
    
    Changed files:
        adapter.awk -> 1.180

 adapter.awk | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/adapter.awk b/adapter.awk
index 96b028d..7dea47b 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -266,6 +266,10 @@ preamble == 1 {
 		if (/^export[ ]*$/)
 			next
 	}
+	
+	# use macros
+	$0 = fixedsub("glib-gettextize --copy --force","%{__glib_gettextize}", $0);
+	$0 = fixedsub("intltoolize --copy --force", "%{__intltoolize}", $0);
 
 	# atrpms
 	$0 = fixedsub("%perl_configure", "%{__perl} Makefile.PL \\\n\tINSTALLDIRS=vendor", $0);
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list