forked from pool/rpmlint
Ludwig Nussel
912bea2445
- rpmlint 1.8 update * python 3 fixes * Add support for file triggers * Mechanism to black list certain C calls * new error: non-devel-file-in-devel-package * appdata check configurable * project moved to github * Patches dropped: avoid-mismatched-libregex.diff filename-non-utf8-exception.diff fix-ghost-file-handling.diff save-content-to-an-array.diff fix-TmpFilesCheck-pattern-match.diff move-ghost-file-check-to-TmpFilesCh.diff OBS-URL: https://build.opensuse.org/request/show/346358 OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=353
25 lines
881 B
Diff
25 lines
881 B
Diff
From: Some One <nobody@opensuse.org>
|
|
Date: Thu, 9 Apr 2015 14:55:40 +0200
|
|
Subject: [PATCH] suse-speccheck-utf8.diff
|
|
|
|
===================================================================
|
|
---
|
|
SpecCheck.py | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/SpecCheck.py b/SpecCheck.py
|
|
index 739410f..4dafdb9 100644
|
|
--- a/SpecCheck.py
|
|
+++ b/SpecCheck.py
|
|
@@ -651,8 +651,8 @@ SPEC file to build a valid RPM package.''',
|
|
("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
|
|
-example using iconv(1).''',
|
|
+'''The character encoding of the spec file (or the merged bits from the .changes file)
|
|
+is not UTF-8. Convert it for example using iconv(1).''',
|
|
|
|
'use-of-RPM_SOURCE_DIR',
|
|
'''You use $RPM_SOURCE_DIR or %{_sourcedir} in your spec file. If you have to
|