Dirk Mueller
3073721c60
* rpmdiff: Teach rpmdiff about pretrans and posttrans * SpecCheck.py: merge patch from #97, using BuildArch with something else than Noarch is likely a error and causing issues. * FilesCheck.py: Add Python 3.3 magic number * FilesCheck.py, InitScriptCheck.py, MenuCheck.py, Pkg.py, PostCheck.py: Prepare for rpm-python possibly returning script progs as arrays. OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=133
16 lines
634 B
Diff
16 lines
634 B
Diff
Index: SpecCheck.py
|
|
===================================================================
|
|
--- SpecCheck.py.orig
|
|
+++ SpecCheck.py
|
|
@@ -609,8 +609,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
|