SPECS: adapter.awk - py2.5 for egg-info

glen glen at pld-linux.org
Thu Oct 16 10:32:07 CEST 2008


Author: glen                         Date: Thu Oct 16 08:32:07 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- py2.5 for egg-info

---- Files affected:
SPECS:
   adapter.awk (1.404 -> 1.405) 

---- Diffs:

================================================================
Index: SPECS/adapter.awk
diff -u SPECS/adapter.awk:1.404 SPECS/adapter.awk:1.405
--- SPECS/adapter.awk:1.404	Thu Oct 16 10:31:18 2008
+++ SPECS/adapter.awk	Thu Oct 16 10:32:01 2008
@@ -1493,7 +1493,7 @@
 	}
 
 	# 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 @@
 			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
 		}
 	}
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/adapter.awk?r1=1.404&r2=1.405&f=u



More information about the pld-cvs-commit mailing list