]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commit
Allow setting dist and mock configuration in Makefile
authorJavier Pena <jpena@redhat.com>
Wed, 23 Oct 2019 14:45:41 +0000 (16:45 +0200)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Wed, 30 Oct 2019 00:59:50 +0000 (20:59 -0400)
commited8341568bd4f25243bed7eecb3c0dfa7f3e007b
tree615367f451bd10fdda5afafcec2970f08b80538f
parentd3f67d63aebd31133310a39b4e42a16d064397da
Allow setting dist and mock configuration in Makefile

Curently, the dist and mock configurations are hardcoded in the
Makefile to be el8 and epel-7-x86_64, respectively. This commit
allows the user to override those settings using the DIST and
MOCK_CONFIG environment variables, falling back to the current
defaults if not set.

This provides additional flexibility when building the RPM directly
from the repository.

Signed-off-by: Javier Peña <jpena@redhat.com>
Makefile