forked from pool/rpmlint
This commit is contained in:
parent
d4fa818a8b
commit
6456368210
@ -1,6 +1,6 @@
|
|||||||
--- InitScriptCheck.py
|
--- InitScriptCheck.py
|
||||||
+++ InitScriptCheck.py
|
+++ InitScriptCheck.py
|
||||||
@@ -101,13 +101,13 @@ class InitScriptCheck(AbstractCheck.AbstractCheck):
|
@@ -101,7 +101,7 @@ class InitScriptCheck(AbstractCheck.AbstractCheck):
|
||||||
in_lsb_tag = 0
|
in_lsb_tag = 0
|
||||||
for i in lsb_tags.keys():
|
for i in lsb_tags.keys():
|
||||||
if len(lsb_tags[i]) != 1:
|
if len(lsb_tags[i]) != 1:
|
||||||
@ -9,13 +9,6 @@
|
|||||||
|
|
||||||
# TODO: where is it specified that these (or some)
|
# TODO: where is it specified that these (or some)
|
||||||
# keywords are mandatory?
|
# 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):
|
@@ -118,7 +118,7 @@ class InitScriptCheck(AbstractCheck.AbstractCheck):
|
||||||
cres = lsb_cont_regex.search(line)
|
cres = lsb_cont_regex.search(line)
|
||||||
if not (in_lsb_description and cres):
|
if not (in_lsb_description and cres):
|
||||||
@ -34,11 +27,4 @@
|
|||||||
else:
|
else:
|
||||||
in_lsb_description = (tag == 'Description')
|
in_lsb_description = (tag == 'Description')
|
||||||
if not tag in lsb_tags.keys():
|
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
|
|
||||||
|
@ -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
|
Mon Aug 18 12:01:42 CEST 2008 - schwab@suse.de
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@ Name: rpmlint
|
|||||||
BuildRequires: rpm-python
|
BuildRequires: rpm-python
|
||||||
Summary: Rpm correctness checker
|
Summary: Rpm correctness checker
|
||||||
Version: 0.83
|
Version: 0.83
|
||||||
Release: 28
|
Release: 29
|
||||||
Source0: %{name}-%{version}.tar.bz2
|
Source0: %{name}-%{version}.tar.bz2
|
||||||
Source1: config
|
Source1: config
|
||||||
Source1001: config.in
|
Source1001: config.in
|
||||||
@ -212,6 +212,8 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
/usr/share/man/man1/rpmlint.1.gz
|
/usr/share/man/man1/rpmlint.1.gz
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Aug 21 2008 dmueller@suse.de
|
||||||
|
- rediff patch
|
||||||
* Mon Aug 18 2008 schwab@suse.de
|
* Mon Aug 18 2008 schwab@suse.de
|
||||||
- Fix name of completions file.
|
- Fix name of completions file.
|
||||||
* Tue Aug 12 2008 dmueller@suse.de
|
* Tue Aug 12 2008 dmueller@suse.de
|
||||||
|
Loading…
Reference in New Issue
Block a user