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:
parent
bcc79dfa67
commit
b94f82df47
@ -53,10 +53,6 @@ _kde4_libakonadi4 = (
|
|||||||
"libakonadiprotocolinternals.so.1",
|
"libakonadiprotocolinternals.so.1",
|
||||||
)
|
)
|
||||||
|
|
||||||
_kde4_knotificationdep = (
|
|
||||||
"libknotificationitem-1.so",
|
|
||||||
)
|
|
||||||
|
|
||||||
class KDE4Check(AbstractCheck.AbstractCheck):
|
class KDE4Check(AbstractCheck.AbstractCheck):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
AbstractCheck.AbstractCheck.__init__(self, "CheckKDE4Deps")
|
AbstractCheck.AbstractCheck.__init__(self, "CheckKDE4Deps")
|
||||||
@ -108,8 +104,6 @@ class KDE4Check(AbstractCheck.AbstractCheck):
|
|||||||
printError(pkg,"suse-kde4-excessive-dependency", "%kde4_akonadi_requires")
|
printError(pkg,"suse-kde4-excessive-dependency", "%kde4_akonadi_requires")
|
||||||
if not "akonadi-runtime" in pkg_requires and libakonadi4_dep:
|
if not "akonadi-runtime" in pkg_requires and libakonadi4_dep:
|
||||||
printError(pkg,"suse-kde4-missing-dependency", "%kde4_akonadi_requires")
|
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()
|
check=KDE4Check()
|
||||||
|
@ -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
|
Thu Jul 14 09:07:59 UTC 2011 - lnussel@suse.de
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@ Index: SpecCheck.py
|
|||||||
package_noarch[current_package] = True
|
package_noarch[current_package] = True
|
||||||
|
|
||||||
+ 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)) < 1110:
|
+ if res and int(res.group(1)) > 0 and int(res.group(1)) < 1130:
|
||||||
+ 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)) > 1140:
|
+ elif res and int(res.group(1)) > 1140:
|
||||||
+ printError(pkg, "invalid-suse-version-check", res.group(1))
|
+ printError(pkg, "invalid-suse-version-check", res.group(1))
|
||||||
|
Loading…
Reference in New Issue
Block a user