# Makefile for source rpm: perl-Compress-Raw-Lzma NAME := perl-Compress-Raw-Lzma SPECFILE = $(firstword $(wildcard *.spec)) BUILD_OPTIONS = -r base 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)) # Need sufficiently recent IO::Compress::Base for IO::Compress::Lzma # This package is pretty useless except as the guts of IO::Compress::Lzma FROM_DIST = fc38 include $(MAKEFILE_COMMON) build :: srpm mb --noarch -r epel -- $(MOCK_OPTIONS) $(SRCRPMDIR)/$(NAME)-$(VERSION)-$(RELEASE).src.rpm