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