diff --git a/dist/redhat/build_rpm.sh b/dist/redhat/build_rpm.sh index 8d19c6e..03944c6 100755 --- a/dist/redhat/build_rpm.sh +++ b/dist/redhat/build_rpm.sh @@ -52,6 +52,10 @@ if [ -z "$TARGET" ]; then fi fi +if [[ "$TARGET" = epel-7-x86_64 ]]; then + TARGET=./dist/redhat/mock/scylla-jmx-epel-7-x86_64.cfg +fi + if [ ! -f /usr/bin/mock ]; then pkg_install mock fi