2015-04-10 16:35:46 +02:00
|
|
|
From: Some One <nobody@opensuse.org>
|
|
|
|
Date: Thu, 9 Apr 2015 14:55:40 +0200
|
|
|
|
Subject: [PATCH] suse-python-abi-check.diff
|
|
|
|
|
2012-09-13 18:01:40 +02:00
|
|
|
===================================================================
|
2015-04-10 16:35:46 +02:00
|
|
|
---
|
|
|
|
FilesCheck.py | 7 +++++--
|
|
|
|
1 file changed, 5 insertions(+), 2 deletions(-)
|
|
|
|
|
|
|
|
diff --git a/FilesCheck.py b/FilesCheck.py
|
2015-11-26 11:24:13 +01:00
|
|
|
index f73cda1..806b886 100644
|
2015-04-10 16:35:46 +02:00
|
|
|
--- a/FilesCheck.py
|
|
|
|
+++ b/FilesCheck.py
|
2015-11-26 11:24:13 +01:00
|
|
|
@@ -1132,8 +1132,11 @@ class FilesCheck(AbstractCheck.AbstractCheck):
|
2011-08-20 02:20:26 +02:00
|
|
|
if res and not (pkg.check_versioned_dep('python-base',
|
|
|
|
res.group(1)) or
|
|
|
|
pkg.check_versioned_dep('python',
|
|
|
|
- res.group(1))):
|
|
|
|
- printError(pkg, 'no-dependency-on', 'python-base',
|
|
|
|
+ res.group(1)) or
|
|
|
|
+ pkg.check_versioned_dep('python(abi)',
|
2011-08-20 02:27:04 +02:00
|
|
|
+ res.group(1))
|
2011-08-20 02:20:26 +02:00
|
|
|
+ ):
|
|
|
|
+ printError(pkg, 'no-dependency-on', 'python(abi)',
|
|
|
|
res.group(1))
|
|
|
|
python_dep_error = True
|
|
|
|
|