# Makefile for source rpm: python-rpm-generators
NAME := python-rpm-generators
SPECFILE = $(firstword $(wildcard *.spec))

define find-makefile-common
for d in common ../common ../../common ../../../common ../../../../common ; do if [ -f $$d/trunk/Makefile.common ] ; then if [ -f $$d/trunk/.svn -a -w $$/Makefile.common ] ; then cd $$d/trunk ; svn update --quiet ; fi ; echo "$$d/trunk/Makefile.common" ; break ; fi ; done
endef

MAKEFILE_COMMON := $(shell $(find-makefile-common))

# This is for building the CentOS 7 Python stack only
# See python3/branches/centos7/python3.spec for bootstrapping details
BUILD_OPTIONS = -r base
DIST_REGEX = ^rhel
FROM_DIST = rhel7
TO_DIST = rhel7

include $(MAKEFILE_COMMON)