rpm/build_rpms.bsh: drop CentOS 5 EPEL install

In commit b560b853a6e557195c0c68875218f45c89dce56b of PR #1298 and in
commit git-lfs/build-dockers@64a3a9fc4d of
PR git-lfs/build-dockers#3 we dropped support for CentOS 5, so we can
remove the logic in our rpm/build_rpms.bsh which installed a RedHat
EPEL package only on this platform.
This commit is contained in:
Chris Darroch 2022-12-26 22:02:30 -08:00
parent 7b3dcdd936
commit 38a0f9f09f

@ -49,11 +49,6 @@ fi
SPEC=${CURDIR}/SPECS/git-lfs.spec
if [[ ${VERSION_ID[0]} == 5 ]]; then
if ! rpm -q epel-release > /dev/null 2>&1; then
$SUDO yum install -y epel-release
fi
fi
$SUDO yum install -y make curl rpm-build tar bison perl-Digest-SHA
mkdir -p ${CURDIR}/{BUILD,BUILDROOT,SOURCES,RPMS,SRPMS}