diff --git a/rpm/centos-7/Dockerfile b/rpm/centos-7/Dockerfile index 2ea8306370..ea0406ca8e 100644 --- a/rpm/centos-7/Dockerfile +++ b/rpm/centos-7/Dockerfile @@ -19,8 +19,6 @@ ENV DISTRO=${DISTRO} ENV SUITE=${SUITE} RUN yum install -y rpm-build rpmlint COPY SPECS /root/rpmbuild/SPECS -# Overwrite repo that was failing on aarch64 -RUN sed -i 's/altarch/centos/g' /etc/yum.repos.d/CentOS-Sources.repo RUN yum-builddep -y /root/rpmbuild/SPECS/*.spec COPY --from=golang /usr/local/go /usr/local/go WORKDIR /root/rpmbuild diff --git a/rpm/centos-8/Dockerfile b/rpm/centos-8/Dockerfile index b56e0a8d01..3153d168d0 100644 --- a/rpm/centos-8/Dockerfile +++ b/rpm/centos-8/Dockerfile @@ -19,8 +19,6 @@ ENV DISTRO=${DISTRO} ENV SUITE=${SUITE} RUN yum install -y rpm-build rpmlint COPY SPECS /root/rpmbuild/SPECS -# Overwrite repo that was failing on aarch64 -RUN sed -i 's/altarch/centos/g' /etc/yum.repos.d/CentOS-Sources.repo RUN yum-builddep -y /root/rpmbuild/SPECS/*.spec COPY --from=golang /usr/local/go /usr/local/go WORKDIR /root/rpmbuild