# Makefile for source rpm: perl-Test2
NAME := perl-Test2
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))

# Test2 bundled with Test-Simple, packaged separately to main perl package from F-7 onwards
#TO_DIST = rhel5
# ... but have problems with Scalar::Util versions on 5.8.x
TO_DIST = fc8

include $(MAKEFILE_COMMON)