SHA256
1
0
forked from pool/rpmlint
rpmlint/suse-python-abi-check.diff

17 lines
881 B
Diff
Raw Normal View History

--- FilesCheck.py
+++ FilesCheck.py
@@ -664,8 +664,11 @@
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