package-afs-centos: fix package name

It turns out the ".centos" in the package name was probably a bug
related to earlier releases [1].  Remove it so we're actually finding
the package and not building it all the time.

[1] https://bugs.centos.org/view.php?id=14955

Change-Id: I335e670cf4672f76154a3453e19112451c2ee75f
This commit is contained in:
Ian Wienand 2018-06-15 17:23:56 +10:00
parent c47eb40154
commit e0bce59cf2

View File

@ -14,7 +14,7 @@
SRC_URL=https://www.openafs.org/dl/openafs/${VERSION}/${SRC_RPM}
UPSTREAM_BASE=https://tarballs.openstack.org/project-config/package-afs-centos7
UPSTREAM_CHECK=${UPSTREAM_BASE}/openafs-client-${SRC_VERSION}.el7.centos.x86_64.rpm
UPSTREAM_CHECK=${UPSTREAM_BASE}/openafs-client-${SRC_VERSION}.el7.x86_64.rpm
if wget -O/dev/null -q $UPSTREAM_CHECK; then
echo "Found existing upstream RPM build, nothing to do"
# scp should just publish nothing