Blame SOURCES/BZ-1851499-port-to-str-return-values.patch

b3cd17
diff -up rpmdevtools-8.10/rpmdev-checksig.orig rpmdevtools-8.10/rpmdev-checksig
b3cd17
--- rpmdevtools-8.10/rpmdev-checksig.orig	2020-06-29 10:29:43.936758775 +0200
b3cd17
+++ rpmdevtools-8.10/rpmdev-checksig	2020-06-29 10:29:55.540983848 +0200
b3cd17
@@ -44,8 +44,8 @@ def lookupKeyID(ts, keyid):
b3cd17
     mi.pattern('version', rpm.RPMMIRE_STRCMP, keyid)
b3cd17
     for hdr in mi:
b3cd17
         sum = hdr['summary']
b3cd17
-        mo = re.search(b'\<.*\>', sum)
b3cd17
-        email = mo.group().decode(errors='replace')
b3cd17
+        mo = re.search('\<.*\>', sum)
b3cd17
+        email = mo.group()
b3cd17
         return email
b3cd17
 
b3cd17
 
b3cd17
diff -up rpmdevtools-8.10/rpmdev-rmdevelrpms.py.orig rpmdevtools-8.10/rpmdev-rmdevelrpms.py
b3cd17
--- rpmdevtools-8.10/rpmdev-rmdevelrpms.py.orig	2020-06-29 10:28:59.503896990 +0200
b3cd17
+++ rpmdevtools-8.10/rpmdev-rmdevelrpms.py	2020-06-29 10:29:09.897098576 +0200
b3cd17
@@ -42,8 +42,8 @@ dev_re = re.compile("-(?:de(?:buginfo|ve
b3cd17
 test_re = re.compile("^perl-(?:Devel|ExtUtils|Test)-")
b3cd17
 lib_re1 = re.compile("^lib.+")
b3cd17
 lib_re2 = re.compile("-libs?$")
b3cd17
-a_re = re.compile(b"\\w\\.a$")
b3cd17
-so_re = re.compile(b"\\w\\.so(?:\\.\\d+)*$")
b3cd17
+a_re = re.compile("\\w\\.a$")
b3cd17
+so_re = re.compile("\\w\\.so(?:\\.\\d+)*$")
b3cd17
 comp_re = re.compile("^compat-gcc")
b3cd17
 # required by Ant, which is required by Eclipse...
b3cd17
 jdev_re = re.compile("^java-.+-gcj-compat-devel$")