This is needed to correctly handle the spec file, so it needs to be
installed before we parse it for build dependencies.
docker run --volume ${CURDIR}/rpmbuild:/home/rpm/rpmbuild --interactive --rm tigervnc/${DOCKER} \
bash -e -x -c "
+ sudo yum install -y xorg-x11-server-devel;
sudo yum-builddep -y ~/rpmbuild/SPECS/tigervnc.spec;
sudo chown 0.0 ~/rpmbuild/SOURCES/*;
sudo chown 0.0 ~/rpmbuild/SPECS/*;
docker run --volume ${CURDIR}/rpmbuild:/home/rpm/rpmbuild --interactive --rm tigervnc/${DOCKER} \
bash -e -x -c "
+ sudo dnf install -y xorg-x11-server-devel;
sudo dnf builddep -y ~/rpmbuild/SPECS/tigervnc.spec;
sudo chown 0.0 ~/rpmbuild/SOURCES/*;
sudo chown 0.0 ~/rpmbuild/SPECS/*;