SHA256
1
0
forked from pool/rpmlint

Accepting request 628019 from devel:openSUSE:Factory:rpmlint

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

OBS-URL: https://build.opensuse.org/request/show/628019
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rpmlint?expand=0&rev=300
This commit is contained in:
Dominique Leuenberger 2018-08-10 07:43:55 +00:00 committed by Git OBS Bridge
commit 71e1cebd57
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

View File

@ -26,7 +26,7 @@ Index: rpmlint-rpmlint-1.10/SpecCheck.py
+ res = suse_version_regex.search(line)
+ if res and int(res.group(1)) > 0 and int(res.group(1)) < 1315:
+ 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))
+
res = prereq_regex.search(line)