Accepting request 95464 from devel:openSUSE:Factory:rpmlint

- fix invalid-suse-version-chec (bnc#732671)

OBS-URL: https://build.opensuse.org/request/show/95464
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rpmlint?expand=0&rev=147
This commit is contained in:
Stephan Kulow 2011-12-06 12:53:47 +00:00 committed by Git OBS Bridge
commit fb3d7cc17f
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Dec 5 15:57:28 CET 2011 - dmueller@suse.de
- fix invalid-suse-version-chec (bnc#732671)
-------------------------------------------------------------------
Tue Nov 29 12:39:47 UTC 2011 - lnussel@suse.de

View File

@ -17,7 +17,7 @@ Index: SpecCheck.py
+ res = suse_version_regex.search(line)
+ if res and int(res.group(1)) > 0 and int(res.group(1)) < 1130:
+ printWarning(pkg, "obsolete-suse-version-check", res.group(1))
+ elif res and int(res.group(1)) > 1140:
+ elif res and int(res.group(1)) > 1230:
+ printError(pkg, "invalid-suse-version-check", res.group(1))
+
res = prereq_regex.search(line)