[packages/adapter: 281/631] - %py_scriptdir subst

glen glen at pld-linux.org
Mon Sep 12 19:58:00 CEST 2016


commit 1bdf7824823ce313becfa00bcb6b8c342b182fad
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Wed Jan 25 22:12:51 2006 +0000

    - %py_scriptdir subst
    
    Changed files:
        adapter.awk -> 1.271

 adapter.awk | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/adapter.awk b/adapter.awk
index ccad57c..0a74f71 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -79,6 +79,7 @@ BEGIN {
 	"rpm --eval %perl_sitelib" | getline perl_sitelib
 
 	"rpm --eval %py_sitescriptdir" | getline py_sitescriptdir
+	"rpm --eval %py_scriptdir " | getline py_scriptdir
 }
 
 # There should be a comment with CVS keywords on the first line of file.
@@ -889,6 +890,7 @@ function use_macros()
 	gsub(perl_sitelib, "%{perl_sitelib}")
 	
 	gsub(py_sitescriptdir, "%{py_sitescriptdir}")
+	gsub(py_scriptdir, "%{py_scriptdir}")
 
 	gsub(bindir, "%{_bindir}")
 	gsub("%{prefix}/bin", "%{_bindir}")
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list