2011-04-21 12:12:02 +02:00
|
|
|
Index: TagsCheck.py
|
|
|
|
===================================================================
|
|
|
|
--- TagsCheck.py.orig
|
2010-04-05 18:53:54 +02:00
|
|
|
+++ TagsCheck.py
|
2011-05-20 11:08:13 +02:00
|
|
|
@@ -778,7 +778,7 @@ class TagsCheck(AbstractCheck.AbstractCh
|
2010-04-06 22:38:58 +02:00
|
|
|
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)
|
2011-05-20 11:08:13 +02:00
|
|
|
@@ -1094,7 +1094,7 @@ once.''',
|
2010-11-26 17:47:21 +01:00
|
|
|
'''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
|