Change location of basearch to dnf.rpm.basearch (#1312087)
The dnf fix for the busted API change is also busted, so just change it
everywhere.
(cherry picked from commit 8085395678
)
This commit is contained in:
parent
4056a5cc84
commit
d12fc22673
@ -42,7 +42,7 @@ Requires: dracut >= 030
|
||||
Requires: libselinux-python3
|
||||
Requires: python3-mako
|
||||
Requires: python3-kickstart
|
||||
Requires: python3-dnf
|
||||
Requires: python3-dnf >= 1.1.7
|
||||
|
||||
|
||||
%if 0%{?fedora}
|
||||
|
@ -61,7 +61,7 @@ class ArchData(DataHolder):
|
||||
def __init__(self, buildarch):
|
||||
super(ArchData, self).__init__()
|
||||
self.buildarch = buildarch
|
||||
self.basearch = dnf.arch.basearch(buildarch)
|
||||
self.basearch = dnf.rpm.basearch(buildarch)
|
||||
self.libdir = "lib64" if self.basearch in self.lib64_arches else "lib"
|
||||
self.bcj = self.bcj_arch.get(self.basearch)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user