SHA256
1
0
forked from pool/rpmlint

- adjust maximum valid suse_version to 1550 (boo#1104110)

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=614
This commit is contained in:
Ludwig Nussel 2018-08-08 08:34:58 +00:00 committed by Git OBS Bridge
parent 31f075ff12
commit e97ba90cbd
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Aug 8 08:34:23 UTC 2018 - lnussel@suse.de
- adjust maximum valid suse_version to 1550 (boo#1104110)
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Jul 20 15:56:52 UTC 2018 - matthias.gerstner@suse.com Fri Jul 20 15:56:52 UTC 2018 - matthias.gerstner@suse.com

View File

@ -26,7 +26,7 @@ Index: rpmlint-rpmlint-1.10/SpecCheck.py
+ 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)) < 1315: + if res and int(res.group(1)) > 0 and int(res.group(1)) < 1315:
+ 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)) > 1330: + elif res and int(res.group(1)) > 1550:
+ 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)