summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2013-02-06 13:11:09 -0800
committerAnas Nashif <anas.nashif@intel.com>2013-02-06 17:32:17 -0800
commita33807665e103081b3dae898f886bc66eda27b59 (patch)
treec1a115ef7a7c89c8625fe6955b8a1d51fe685fde
parent0032522371d8a6356085811f8167d2cd41c99f84 (diff)
downloadrpmlint-a33807665e103081b3dae898f886bc66eda27b59.tar.gz
rpmlint-a33807665e103081b3dae898f886bc66eda27b59.tar.bz2
rpmlint-a33807665e103081b3dae898f886bc66eda27b59.zip
suse-python-abi-check.diff
===================================================================
-rw-r--r--FilesCheck.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/FilesCheck.py b/FilesCheck.py
index 224eb9c..9251561 100644
--- a/FilesCheck.py
+++ b/FilesCheck.py
@@ -1148,8 +1148,11 @@ class FilesCheck(AbstractCheck.AbstractCheck):
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)',
+ res.group(1))
+ ):
+ printError(pkg, 'no-dependency-on', 'python(abi)',
res.group(1))
python_dep_error = True