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

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