diff --git a/dev/tasks/linux-packages/apache-arrow/yum/centos-9-stream/Dockerfile b/dev/tasks/linux-packages/apache-arrow/yum/centos-9-stream/Dockerfile index 513a63fee8128..b1e1630103c34 100644 --- a/dev/tasks/linux-packages/apache-arrow/yum/centos-9-stream/Dockerfile +++ b/dev/tasks/linux-packages/apache-arrow/yum/centos-9-stream/Dockerfile @@ -18,15 +18,12 @@ ARG FROM=quay.io/centos/centos:stream9 FROM ${FROM} -ENV SCL=gcc-toolset-12 - ARG DEBUG RUN \ quiet=$([ "${DEBUG}" = "yes" ] || echo "--quiet") && \ dnf install -y ${quiet} epel-release && \ dnf install --enablerepo=crb -y ${quiet} \ - ${SCL} \ bison \ boost-devel \ brotli-devel \ @@ -46,7 +43,6 @@ RUN \ libarchive \ libzstd-devel \ llvm-devel \ - llvm-static \ lz4-devel \ make \ ncurses-devel \ @@ -65,11 +61,3 @@ RUN \ vala \ zlib-devel && \ dnf clean ${quiet} all - -# Workaround: We can remove this once redhat-rpm-config uses "annobin" -# not "gcc-annobin". -RUN \ - sed \ - -i \ - -e 's/gcc-annobin/annobin/g' \ - /usr/lib/rpm/redhat/redhat-annobin-select-gcc-built-plugin