package-afs-centos: fix centos8 build

As noted inline, there is a hidden missing dependency

Change-Id: Ida30fc6094ff79f77c4b0cb24c32dda96d4215de
This commit is contained in:
Ian Wienand 2020-01-15 12:05:00 +11:00
parent 7160e29bef
commit 2a0922bfe0

View File

@ -26,6 +26,11 @@
# install the build dependencies for the package # install the build dependencies for the package
sudo dnf builddep -y ./${SRC_RPM} sudo dnf builddep -y ./${SRC_RPM}
# for whatever reason (I think because it is in a macro
# check in the .spec) the above builddep misses this
# dependency
sudo dnf install -y elfutils-devel
# install source-rpm # install source-rpm
# (this installs to ~/rpmbuild) # (this installs to ~/rpmbuild)
rpm -i ./${SRC_RPM} rpm -i ./${SRC_RPM}