forked from pool/rpmlint
28 lines
1.3 KiB
Diff
28 lines
1.3 KiB
Diff
From: Some One <nobody@opensuse.org>
|
|
Date: Thu, 9 Apr 2015 14:55:40 +0200
|
|
Subject: [PATCH] suse-python-abi-check.diff
|
|
|
|
===================================================================
|
|
---
|
|
FilesCheck.py | 7 +++++--
|
|
1 file changed, 5 insertions(+), 2 deletions(-)
|
|
|
|
Index: rpmlint-rpmlint-1.10/FilesCheck.py
|
|
===================================================================
|
|
--- rpmlint-rpmlint-1.10.orig/FilesCheck.py
|
|
+++ rpmlint-rpmlint-1.10/FilesCheck.py
|
|
@@ -733,8 +733,11 @@ class FilesCheck(AbstractCheck.AbstractC
|
|
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
|
|
|