[packages/rpm-build-tools] some new macro substitutions

glen glen at pld-linux.org
Thu Mar 21 19:25:35 CET 2013


commit 82c4e41a84ba26aefc00e4306bf0f881661c4786
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Thu Mar 21 20:25:06 2013 +0200

    some new macro substitutions

 adapter.awk | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/adapter.awk b/adapter.awk
index 30d76ae..ab284dd 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -1088,6 +1088,8 @@ function use_macros()
 	gsub(py3_sitescriptdir, "%{py3_sitescriptdir}")
 	gsub(py3_sitedir, "%{py3_sitedir}")
 	gsub(py3_scriptdir, "%{py3_scriptdir}")
+	gsub("%{python3_sitelib}", "%{py3_sitescriptdir}")
+	gsub("%{python3_version}", "%{py3_ver}")
 
 	gsub(ruby_archdir, "%{ruby_archdir}")
 	gsub(ruby_ridir, "%{ruby_ridir}")
@@ -2115,6 +2117,7 @@ function replace_requires(field,   pkg) {
 	# {{{ fedora / redhat
 	sub(/^Django$/, "python-django", $2);
 	sub(/^GitPython$/, "python-git", $2);
+	sub(/^pytest$/, "python-pytest", $2);
 	sub(/^MySQL-python$/, "python-MySQLdb", $2);
 	sub(/^PyQt4-devel$/, "python-PyQt4-devel", $2);
 	sub(/^PyQwt-devel$/, "python-PyQwt-devel", $2);
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list