2010-08-01 17:30:35 +02:00
|
|
|
# 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.
|
2011-05-20 11:08:13 +02:00
|
|
|
Index: rpmlint-1.2/SpecCheck.py
|
2010-08-01 17:30:35 +02:00
|
|
|
===================================================================
|
2011-05-20 11:08:13 +02:00
|
|
|
--- rpmlint-1.2.orig/SpecCheck.py
|
|
|
|
+++ rpmlint-1.2/SpecCheck.py
|
|
|
|
@@ -594,8 +594,8 @@ addDetails(
|
2010-08-01 17:30:35 +02:00
|
|
|
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
|