Hello community, here is the log from the commit of package rpmlint for openSUSE:Factory checked in at Tue Apr 6 22:38:56 CEST 2010. -------- --- rpmlint/rpmlint.changes 2010-04-02 13:54:50.000000000 +0200 +++ rpmlint/rpmlint.changes 2010-04-06 18:31:58.000000000 +0200 @@ -1,0 +2,5 @@ +Tue Apr 6 18:31:35 CEST 2010 - dmueller@suse.de + +- workaround unicode error exceptions on non-utf8 filenames + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- filename-non-utf8-exception.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rpmlint.spec ++++++ --- /var/tmp/diff_new_pack.l7GVsl/_old 2010-04-06 22:38:14.000000000 +0200 +++ /var/tmp/diff_new_pack.l7GVsl/_new 2010-04-06 22:38:14.000000000 +0200 @@ -23,7 +23,7 @@ BuildRequires: rpm-python Summary: Rpm correctness checker Version: 0.95 -Release: 2 +Release: 3 Source0: %{name}-%{version}.tar.bz2 Source1: config Source1001: config.in @@ -110,6 +110,7 @@ Patch71: suse-binary-info-compile-opts.diff Patch72: version-control-internal-file.diff Patch73: avoid-mismatched-libregex.diff +Patch74: filename-non-utf8-exception.diff %py_requires %description @@ -179,6 +180,7 @@ #%patch71 %patch72 %patch73 +%patch74 cp -p %{SOURCE1} . cp -p %{SOURCE2} . cp -p %{SOURCE3} . ++++++ filename-non-utf8-exception.diff ++++++ --- Filter.py +++ Filter.py @@ -22,13 +22,8 @@ _badness_score = 0 printed_messages = { "I": 0, "W": 0, "E": 0 } -if sys.stdout.isatty(): - def __print(s): - print(s) -else: - import locale - def __print(s): - print(s.encode(locale.getpreferredencoding(), "replace")) +def __print(s): + print(s) def printInfo(pkg, reason, *details): _print("I", pkg, reason, details) ++++++ suse-url-check.diff ++++++ --- /var/tmp/diff_new_pack.l7GVsl/_old 2010-04-06 22:38:15.000000000 +0200 +++ /var/tmp/diff_new_pack.l7GVsl/_new 2010-04-06 22:38:15.000000000 +0200 @@ -1,6 +1,14 @@ --- TagsCheck.py +++ TagsCheck.py -@@ -748,7 +748,7 @@ +@@ -741,14 +741,14 @@ + if not valid_license: + self._unexpanded_macros(pkg, 'License', rpm_license) + +- for tag in ('URL', 'DistURL', 'BugURL'): ++ for tag in ('URL', 'BugURL'): + if hasattr(rpm, 'RPMTAG_%s' % tag.upper()): + url = pkg[getattr(rpm, 'RPMTAG_%s' % tag.upper())] + self._unexpanded_macros(pkg, tag, url, is_url = True) if url: (scheme, netloc) = urlparse(url)[0:2] if not scheme or not netloc or "." not in netloc or \ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org