[packages/adapter: 164/631] - replace py_sitescriptdir macro
glen
glen at pld-linux.org
Mon Sep 12 19:48:12 CEST 2016
commit 9732cb3d5f100650efcb40013205fe9be5f0fafe
Author: Elan Ruusamäe <glen at pld-linux.org>
Date: Fri Jun 17 21:47:19 2005 +0000
- replace py_sitescriptdir macro
Changed files:
adapter.awk -> 1.159
adapter.awk | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/adapter.awk b/adapter.awk
index 6cbf536..56a83b5 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -53,11 +53,11 @@ BEGIN {
"rpm --eval %perl_sitearch" | getline perl_sitearch
"rpm --eval %perl_archlib" | getline perl_archlib
"rpm --eval %perl_privlib" | getline perl_privlib
- "rpm --eval %perl_archlib" | getline perl_archlib
"rpm --eval %perl_vendorlib" | getline perl_vendorlib
"rpm --eval %perl_vendorarch" | getline perl_vendorarch
"rpm --eval %perl_sitelib" | getline perl_sitelib
- "rpm --eval %perl_sitearch" | getline perl_sitearch
+
+ "rpm --eval %py_sitescriptdir" | getline py_sitescriptdir
}
# There should be a comment with CVS keywords on the first line of file.
@@ -590,11 +590,11 @@ function use_macros()
gsub(perl_sitearch, "%{perl_sitearch}")
gsub(perl_archlib, "%{perl_archlib}")
gsub(perl_privlib, "%{perl_privlib}")
- gsub(perl_archlib, "%{perl_archlib}")
gsub(perl_vendorlib, "%{perl_vendorlib}")
gsub(perl_vendorarch, "%{perl_vendorarch}")
gsub(perl_sitelib, "%{perl_sitelib}")
- gsub(perl_sitearch, "%{perl_sitearch}")
+
+ gsub(py_sitescriptdir, "%{py_sitescriptdir}")
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