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.
This commit is contained in:
parent
3e9efdcf48
commit
8085395678
@ -46,7 +46,7 @@ Requires: kpartx
|
||||
Requires: libselinux-python3
|
||||
Requires: python3-mako
|
||||
Requires: python3-kickstart
|
||||
Requires: python3-dnf >= 1.1.0
|
||||
Requires: python3-dnf >= 1.1.7
|
||||
|
||||
|
||||
%if 0%{?fedora}
|
||||
|
@ -62,7 +62,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