#!/bin/bash
################################################################################
# Mock wrapper
#
# This is a template to do mock builds on a system (instead of directly calling
# mock with shell or command in ansible). It's just easier to address possible
# command line arguments this way via vars.
#
# Any possible configuration for the rpmbuild will be contained within the mock
# configuration file. Changes can be made by passing vars that override the
# defaults set out by this role.
#

/usr/bin/mock \
  --isolation=simple \
  --root /home/rpmbuild/rocky-9-aarch64.cfg \
  /home/rpmbuild/rpmbuild/SRPMS/perl-Parse-Yapp-1.21-12.el9.src.rpm
