SHA256
1
0
forked from pool/rpmlint
OBS User unknown 2008-08-21 15:43:02 +00:00 committed by Git OBS Bridge
parent d4fa818a8b
commit 6456368210
3 changed files with 10 additions and 17 deletions

View File

@ -1,6 +1,6 @@
--- InitScriptCheck.py
+++ InitScriptCheck.py
@@ -101,13 +101,13 @@ class InitScriptCheck(AbstractCheck.AbstractCheck):
@@ -101,7 +101,7 @@ class InitScriptCheck(AbstractCheck.AbstractCheck):
in_lsb_tag = 0
for i in lsb_tags.keys():
if len(lsb_tags[i]) != 1:
@ -9,13 +9,6 @@
# TODO: where is it specified that these (or some)
# keywords are mandatory?
for i in ('Provides', 'Description', 'Short-Description'):
if i not in lsb_tags.keys():
- printError(pkg, 'missing-mandatory-lsb-keyword', "%s in %s" % (i, f))
+ printError(pkg, 'missing-mandatory-lsb-keyword', "'%s' in %s" % (i, f))
if in_lsb_tag:
# TODO maybe we do not have to handle this ?
if lastline.endswith('\\'):
@@ -118,7 +118,7 @@ class InitScriptCheck(AbstractCheck.AbstractCheck):
cres = lsb_cont_regex.search(line)
if not (in_lsb_description and cres):
@ -34,11 +27,4 @@
else:
in_lsb_description = (tag == 'Description')
if not tag in lsb_tags.keys():
@@ -135,7 +135,6 @@ class InitScriptCheck(AbstractCheck.AbstractCheck):
lsb_tags[tag].append(res.group(2))
lastline = line
-
if status_regex.search(line):
status_found = 1

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Aug 21 00:30:01 CEST 2008 - dmueller@suse.de
- rediff patch
-------------------------------------------------------------------
Mon Aug 18 12:01:42 CEST 2008 - schwab@suse.de

View File

@ -22,7 +22,7 @@ Name: rpmlint
BuildRequires: rpm-python
Summary: Rpm correctness checker
Version: 0.83
Release: 28
Release: 29
Source0: %{name}-%{version}.tar.bz2
Source1: config
Source1001: config.in
@ -212,6 +212,8 @@ rm -rf $RPM_BUILD_ROOT
/usr/share/man/man1/rpmlint.1.gz
%changelog
* Thu Aug 21 2008 dmueller@suse.de
- rediff patch
* Mon Aug 18 2008 schwab@suse.de
- Fix name of completions file.
* Tue Aug 12 2008 dmueller@suse.de