Dirk Mueller
3073721c60
* rpmdiff: Teach rpmdiff about pretrans and posttrans * SpecCheck.py: merge patch from #97, using BuildArch with something else than Noarch is likely a error and causing issues. * FilesCheck.py: Add Python 3.3 magic number * FilesCheck.py, InitScriptCheck.py, MenuCheck.py, Pkg.py, PostCheck.py: Prepare for rpm-python possibly returning script progs as arrays. OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=133
19 lines
1018 B
Diff
19 lines
1018 B
Diff
Index: FilesCheck.py
|
|
===================================================================
|
|
--- FilesCheck.py.orig
|
|
+++ FilesCheck.py
|
|
@@ -1153,8 +1153,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
|
|
|