forked from pool/rpmlint
- update obsolete/invalid suse version check
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=217
This commit is contained in:
parent
a2bc1f456d
commit
93aaebbefb
@ -4,6 +4,7 @@ Mon Sep 23 14:19:05 UTC 2013 - dmueller@suse.com
|
|||||||
- blacklist old systemd/udev directories (bnc#816467)
|
- blacklist old systemd/udev directories (bnc#816467)
|
||||||
- remove checking for groups (bnc#767551)
|
- remove checking for groups (bnc#767551)
|
||||||
- ignore icon size mismatches on animated icons (bnc#480664)
|
- ignore icon size mismatches on animated icons (bnc#480664)
|
||||||
|
- update obsolete/invalid suse version check
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Sep 17 10:03:53 UTC 2013 - abergmann@suse.com
|
Tue Sep 17 10:03:53 UTC 2013 - abergmann@suse.com
|
||||||
|
@ -15,9 +15,9 @@ Index: SpecCheck.py
|
|||||||
printWarning(pkg, 'hardcoded-prefix-tag', res.group(1))
|
printWarning(pkg, 'hardcoded-prefix-tag', res.group(1))
|
||||||
|
|
||||||
+ res = suse_version_regex.search(line)
|
+ res = suse_version_regex.search(line)
|
||||||
+ if res and int(res.group(1)) > 0 and int(res.group(1)) < 1130:
|
+ if res and int(res.group(1)) > 0 and int(res.group(1)) < 1210:
|
||||||
+ printWarning(pkg, "obsolete-suse-version-check", res.group(1))
|
+ printWarning(pkg, "obsolete-suse-version-check", res.group(1))
|
||||||
+ elif res and int(res.group(1)) > 1230:
|
+ elif res and int(res.group(1)) > 1310:
|
||||||
+ printError(pkg, "invalid-suse-version-check", res.group(1))
|
+ printError(pkg, "invalid-suse-version-check", res.group(1))
|
||||||
+
|
+
|
||||||
res = prereq_regex.search(line)
|
res = prereq_regex.search(line)
|
||||||
|
Loading…
Reference in New Issue
Block a user