[v2-maybe-incomplete][PATCH] generic/CheckLicensInDoc: %doc -> %license
Jan Pokorný
jpokorny at redhat.com
Wed Jan 21 10:42:53 UTC 2015
Signed-off-by: Jan Pokorný <jpokorny at redhat.com>
---
plugins/generic.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/plugins/generic.py b/plugins/generic.py
index dfbf0b6..7b9ee41 100644
--- a/plugins/generic.py
+++ b/plugins/generic.py
@@ -745,13 +745,13 @@ def __init__(self, base):
self.text = 'If (and only if) the source package includes' \
' the text of the license(s) in its own file,' \
' then that file, containing the text of the' \
- ' license(s) for the package is included in %doc.'
+ ' license(s) for the package is included in %license.'
self.automatic = True
self.type = 'MUST'
def run(self):
""" Check if there is a license file and if it is present in the
- %doc section.
+ %license section.
"""
licenses = []
--
2.1.0
More information about the fedorareview
mailing list