summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2013-02-06 13:11:08 -0800
committerAnas Nashif <anas.nashif@intel.com>2013-02-06 13:11:08 -0800
commit81b3ecec91cd6e3e6c843f6b1aeba232a89551b7 (patch)
tree7d742ee03a10f99a772c660a45f246a9951d23c9
parentd090029e9d58f3b3e6b9025a374ed6ae2f27d0c9 (diff)
downloadrpmlint-81b3ecec91cd6e3e6c843f6b1aeba232a89551b7.tar.gz
rpmlint-81b3ecec91cd6e3e6c843f6b1aeba232a89551b7.tar.bz2
rpmlint-81b3ecec91cd6e3e6c843f6b1aeba232a89551b7.zip
suse-url-check.diff
===================================================================
-rw-r--r--TagsCheck.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/TagsCheck.py b/TagsCheck.py
index 1194660..ebe0ed0 100644
--- a/TagsCheck.py
+++ b/TagsCheck.py
@@ -780,7 +780,7 @@ class TagsCheck(AbstractCheck.AbstractCheck):
if not valid_license:
self._unexpanded_macros(pkg, 'License', rpm_license)
- for tag in ('URL', 'DistURL', 'BugURL'):
+ for tag in ('URL', 'BugURL'):
if hasattr(rpm, 'RPMTAG_%s' % tag.upper()):
url = pkg[getattr(rpm, 'RPMTAG_%s' % tag.upper())]
self._unexpanded_macros(pkg, tag, url, is_url = True)
@@ -1096,7 +1096,7 @@ once.''',
'''This rpm requires a specific release of another package.''',
'no-url-tag',
-'''The URL tag is missing.''',
+'''The URL tag is missing. Please add a http or ftp link to the project location.''',
'name-repeated-in-summary',
'''The name of the package is repeated in its summary. This is often redundant