SHA256
1
0
forked from pool/rpmlint
rpmlint/confusing-invalid-spec-name.patch
OBS User autobuild f7d2015dce Accepting request 44204 from Base:System
Copy from Base:System/rpmlint based on submit request 44204 from user dirkmueller

OBS-URL: https://build.opensuse.org/request/show/44204
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rpmlint?expand=0&rev=67
2010-08-01 15:30:35 +00:00

18 lines
834 B
Diff

# 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.
Index: rpmlint-0.95/SpecCheck.py
===================================================================
--- rpmlint-0.95.orig/SpecCheck.py 2010-07-29 09:29:28.000000000 +0200
+++ rpmlint-0.95/SpecCheck.py 2010-07-29 09:44:32.000000000 +0200
@@ -593,8 +593,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