Signed-off-by: Jan Pokorný <jpokorny(a)redhat.com>
---
plugins/generic.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/generic.py b/plugins/generic.py
index dfbf0b6..998896c 100644
--- a/plugins/generic.py
+++ b/plugins/generic.py
@@ -745,7 +745,7 @@ 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'
--
2.1.0
Show replies by date
Signed-off-by: Jan Pokorný <jpokorny(a)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
Please note that the patch may still be incomplete, e.g. in enforcing
to actually use %license instead of %doc for license files.
The point I am trying to raise with the patch is that %license tag is
currently recommended way to include license files rather than %doc.
--
Jan