4ebc84
#!/bin/bash -
4ebc84
4ebc84
# This script is used when we build libguestfs from brew, as sometimes
4ebc84
# we require packages which are not available in the current version
4ebc84
# of RHEL.  Normally these updated packages would be released along
4ebc84
# with libguestfs in the next RHEL, although unfortunately sometimes
4ebc84
# that doesn't happen (eg. RHBZ#1199605).
4ebc84
4ebc84
set -x
4ebc84
4ebc84
pkgs="
4ebc84
  augeas-1.4.0-5.el7
4ebc84
  hivex-1.3.10-6.9.el7
4ebc84
  ocaml-4.05.0-6.el7
4ebc84
  ocaml-camlp4-4.05.0-0.4.gitfc12d8c7.el7
4ebc84
  ocaml-fileutils-0.4.4-9.el7
4ebc84
  ocaml-findlib-1.7.3-7.el7
4ebc84
  ocaml-gettext-0.3.7-1.el7
4ebc84
  ocaml-srpm-macros-5-2.el7
4ebc84
  supermin-5.1.19-1.el7
4ebc84
"
4ebc84
4ebc84
for pkg in $pkgs ; do
4ebc84
    brew tag-pkg rhel-7.5-temp-override $pkg
4ebc84
done
4ebc84
4ebc84
for pkg in $pkgs ; do
4ebc84
    brew wait-repo rhel-7.5-build --build=$pkg
4ebc84
done