SHA256
1
0
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:
Dirk Mueller 2013-09-23 14:39:33 +00:00 committed by Git OBS Bridge
parent a2bc1f456d
commit 93aaebbefb
2 changed files with 3 additions and 2 deletions

View File

@ -4,6 +4,7 @@ Mon Sep 23 14:19:05 UTC 2013 - dmueller@suse.com
- blacklist old systemd/udev directories (bnc#816467)
- remove checking for groups (bnc#767551)
- 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

View File

@ -15,9 +15,9 @@ Index: SpecCheck.py
printWarning(pkg, 'hardcoded-prefix-tag', res.group(1))
+ 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))
+ 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))
+
res = prereq_regex.search(line)