[packages/adapter: 425/631] - py2.5 for egg-info

glen glen at pld-linux.org
Mon Sep 12 20:10:04 CEST 2016


commit df3f2e9cb9c1c7d4448965402bcfa621a713d711
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Thu Oct 16 08:32:01 2008 +0000

    - py2.5 for egg-info
    
    Changed files:
        adapter.awk -> 1.405

 adapter.awk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/adapter.awk b/adapter.awk
index 24b571e..a4ec6fb 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -1493,7 +1493,7 @@ function use_files_macros(	i, n, t, a, l)
 	}
 
 	# python egg-infos
-	if (match($0, "^%{py_sitedir}/.*-[0-9.]+-py"py_ver".egg-info$")) {
+	if (match($0, "^%{py_sitedir}/.+-[0-9.]+-py"py_ver".egg-info$")) {
 		l = length("%{py_sitedir}/");
 		s = substr($0, l + 1, RLENGTH - l - length("-py"py_ver".egg-info"));
 		if (match(s, "[0-9.]+$")) {
@@ -1503,7 +1503,7 @@ function use_files_macros(	i, n, t, a, l)
 			print
 			print "%endif"
 			# yeah, sorry, just can't append to preable anymore
-			print "BuildRequires:\tpython-devel >= 1:2.4"
+			print "BuildRequires:\tpython-devel >= 1:2.5"
 			next
 		}
 	}
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list