File cocci-pythondetect.diff of Package coccinelle

---
 configure |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: coccinelle-0.2.5-rc2/configure
===================================================================
--- coccinelle-0.2.5-rc2.orig/configure
+++ coccinelle-0.2.5-rc2/configure
@@ -198,7 +198,7 @@ We need  3.XX",
 if($python) {
     if(check_config(
 	"python --version 2>&1 |",
-	"Python 2\.[567]\..*",
+	qr/Python 2\.[567]\b/,
 	"python is present",
 	"python is missing or is not a good version."
        ))
openSUSE Build Service is sponsored by