summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2013-02-06 13:11:09 -0800
committerAnas Nashif <anas.nashif@intel.com>2013-02-06 17:32:17 -0800
commit4b75b42bd98590449c755f11a797976808978d4c (patch)
treef5762ed3baced9aee7092e2e42db9b9c3597caa8
parentc7c3d491afb21895bebfa231d1f8b69a9e0a3723 (diff)
downloadrpmlint-4b75b42bd98590449c755f11a797976808978d4c.tar.gz
rpmlint-4b75b42bd98590449c755f11a797976808978d4c.tar.bz2
rpmlint-4b75b42bd98590449c755f11a797976808978d4c.zip
confusing-invalid-spec-name
# Confusing message. The problem is not that the file does not end # with ".spec", but that there is a mismatch of specname and pkg name.
-rw-r--r--SpecCheck.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/SpecCheck.py b/SpecCheck.py
index 8ddbfc4..77ded79 100644
--- a/SpecCheck.py
+++ b/SpecCheck.py
@@ -601,8 +601,8 @@ addDetails(
SPEC file to build a valid RPM package.''',
'invalid-spec-name',
-'''Your spec filename must end with '.spec'. If it's not the case, rename your
-file and rebuild your package.''',
+'''The spec file name (without the .spec suffix) must match the package name
+("Name:" tag). Either rename your package or the specfile.''',
'non-utf8-spec-file',
'''The character encoding of the spec file is not UTF-8. Convert it for