2017-10-04 15:59:08 +02:00
|
|
|
Index: rpmlint-rpmlint-1.10/SpecCheck.py
|
|
|
|
===================================================================
|
|
|
|
--- rpmlint-rpmlint-1.10.orig/SpecCheck.py
|
|
|
|
+++ rpmlint-rpmlint-1.10/SpecCheck.py
|
2017-09-30 21:54:42 +02:00
|
|
|
@@ -9,7 +9,6 @@
|
|
|
|
|
|
|
|
import re
|
|
|
|
import sys
|
|
|
|
-import unicodedata
|
|
|
|
try:
|
|
|
|
from urlparse import urlparse
|
|
|
|
except ImportError: # Python 3
|
2017-10-04 15:59:08 +02:00
|
|
|
@@ -107,7 +106,7 @@ filelist_regex = re.compile(r'\s+-f\s+\S
|
2017-09-30 21:54:42 +02:00
|
|
|
pkgname_regex = re.compile(r'\s+(?:-n\s+)?(\S+)')
|
|
|
|
tarball_regex = re.compile(r'\.(?:t(?:ar|[glx]z|bz2?)|zip)\b', re.IGNORECASE)
|
|
|
|
|
|
|
|
-UNICODE_NBSP = unicodedata.lookup('NO-BREAK SPACE')
|
|
|
|
+UNICODE_NBSP = u'\xa0'
|
|
|
|
|
|
|
|
|
|
|
|
def unversioned(deps):
|