From 2b5cea76f909c6c89c41720dca89c80c54002727f22a39d2ba9628590047216b Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sun, 1 Oct 2017 12:43:53 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=510 --- drop-unicodedata-dep.diff | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/drop-unicodedata-dep.diff b/drop-unicodedata-dep.diff index 760bc3c..4a66b20 100644 --- a/drop-unicodedata-dep.diff +++ b/drop-unicodedata-dep.diff @@ -19,13 +19,3 @@ index 8cb85b3..45ad404 100644 def unversioned(deps): -@@ -206,8 +205,7 @@ class SpecCheck(AbstractCheck.AbstractCheck): - if do_unicode: - line = unicode(line, "utf-8", "replace") # noqa false positive - -- char = line.find(nbsp) -- if char != -1: -+ if nbsp in line: - printWarning(pkg, "non-break-space", "line %s, char %d" % - (pkg.current_linenum, char)) -