| |
@@ -42,8 +42,8 @@
|
| |
test_re = re.compile(r"^perl-(?:Devel|ExtUtils|Test)-")
|
| |
lib_re1 = re.compile(r"^lib.+")
|
| |
lib_re2 = re.compile(r"-libs?$")
|
| |
- a_re = re.compile(br"\w\.a$")
|
| |
- so_re = re.compile(br"\w\.so(?:\.\d+)*$")
|
| |
+ a_re = re.compile(r"\w\.a$")
|
| |
+ so_re = re.compile(r"\w\.so(?:\.\d+)*$")
|
| |
comp_re = re.compile(r"^compat-gcc")
|
| |
# required by Ant, which is required by Eclipse...
|
| |
jdev_re = re.compile(r"^java-.+-gcj-compat-devel$")
|
| |
These regexes are matched against the data returned from the RPM header
functions further down the code, however the format of the data has
recently changed from <bytes> objects to decoded <str> objects, so we
should no longer declare the regexes as bytes.
Basically an inverse of the following two commits:
32581a8
d93953b
Details on the RPM change:
https://github.com/rpm-software-management/rpm/commit/84920f898315d09a57a3f1067433eaeb7de5e830