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:
Brian C. Lane 2016-03-09 14:45:20 -08:00
parent 3e9efdcf48
commit 8085395678
2 changed files with 2 additions and 2 deletions

View File

@ -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}

View File

@ -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)