# Makefile for source rpm: perl-Devel-EnforceEncapsulation NAME := perl-Devel-EnforceEncapsulation 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)) # No intention of supporting anything earlier than F-15/EL-6 FROM_DIST = fc19 BUILD_OPTIONS = -r base DIST_REGEX = '^fc' include $(MAKEFILE_COMMON) build :: srpm mb --noarch -r epel --from=rhel6 --regex=rhel -- $(MOCK_OPTIONS) $(SRCRPMDIR)/$(NAME)-$(VERSION)-$(RELEASE).src.rpm