SHA256
1
0
forked from pool/rpmlint

Accepting request 76822 from home:TheBlackCat:branches:devel:openSUSE:Factory:rpmlint

- remove obsolete knotification-requires check
- bump obsolete openSUSE version to 11.2

OBS-URL: https://build.opensuse.org/request/show/76822
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=45
This commit is contained in:
Dirk Mueller 2011-07-25 14:37:16 +00:00 committed by Git OBS Bridge
parent bcc79dfa67
commit b94f82df47
3 changed files with 7 additions and 7 deletions

View File

@ -53,10 +53,6 @@ _kde4_libakonadi4 = (
"libakonadiprotocolinternals.so.1",
)
_kde4_knotificationdep = (
"libknotificationitem-1.so",
)
class KDE4Check(AbstractCheck.AbstractCheck):
def __init__(self):
AbstractCheck.AbstractCheck.__init__(self, "CheckKDE4Deps")
@ -108,8 +104,6 @@ class KDE4Check(AbstractCheck.AbstractCheck):
printError(pkg,"suse-kde4-excessive-dependency", "%kde4_akonadi_requires")
if not "akonadi-runtime" in pkg_requires and libakonadi4_dep:
printError(pkg,"suse-kde4-missing-dependency", "%kde4_akonadi_requires")
if not "libknotificationitem-1" in pkg_requires and _kde4_knotificationdep:
printError(pkg, "suse-kde4-missing-dependency", "kde4_knotification_requires")
check=KDE4Check()

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Jul 23 11:35:02 UTC 2011 - toddrme2178@gmail.com
- remove obsolete knotification-requires check
- bump obsolete openSUSE version to 11.2
-------------------------------------------------------------------
Thu Jul 14 09:07:59 UTC 2011 - lnussel@suse.de

View File

@ -15,7 +15,7 @@ Index: SpecCheck.py
package_noarch[current_package] = True
+ res = suse_version_regex.search(line)
+ if res and int(res.group(1)) > 0 and int(res.group(1)) < 1110:
+ 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:
+ printError(pkg, "invalid-suse-version-check", res.group(1))