forked from pool/rpmlint
- check for versioned dependency on python(abi) (bnc#659068)
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=59
This commit is contained in:
parent
63c279c07c
commit
c7e3b83334
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Aug 20 02:19:29 CEST 2011 - dmueller@suse.de
|
||||
|
||||
- check for versioned dependency on python(abi) (bnc#659068)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 19 18:36:04 CEST 2011 - dmueller@suse.de
|
||||
|
||||
|
@ -124,6 +124,7 @@ Patch85: suse-changelog.patch
|
||||
Patch86: suse-rclink-check.diff
|
||||
# accepted upstream
|
||||
Patch88: suse-speccheck-utf8.diff
|
||||
Patch89: suse-python-abi-check.diff
|
||||
%py_requires
|
||||
|
||||
%description
|
||||
@ -202,6 +203,7 @@ Authors:
|
||||
%patch86
|
||||
#patch87 -p1
|
||||
%patch88
|
||||
%patch89
|
||||
cp -p %{SOURCE1} .
|
||||
cp -p %{SOURCE2} .
|
||||
cp -p %{SOURCE3} .
|
||||
|
16
suse-python-abi-check.diff
Normal file
16
suse-python-abi-check.diff
Normal file
@ -0,0 +1,16 @@
|
||||
--- 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)) or
|
||||
+ ):
|
||||
+ printError(pkg, 'no-dependency-on', 'python(abi)',
|
||||
res.group(1))
|
||||
python_dep_error = True
|
||||
|
Loading…
Reference in New Issue
Block a user