--- Makefile 2003-09-21 01:47:33.000000000 -0400 +++ Makefile 2003-09-21 13:01:35.000000000 -0400 @@ -18,7 +18,8 @@ SVN_VERSION_MINOR := $(shell grep 'define SVN_VER_MINOR' < $(VERSION_FILE) | (read one two three; echo $$three) ) SVN_VERSION_MICRO := $(shell grep 'define SVN_VER_MICRO' < $(VERSION_FILE) | (read one two three; echo $$three) ) VERSION := $(SVN_VERSION_MAJOR).$(SVN_VERSION_MINOR).$(SVN_VERSION_MICRO) -RELEASE := $(shell svn st -v $(SPECFILE) | cut -b 10- | ( read one two ; echo $$one ) ) +SVNEXEC := $(shell which svn) +RELEASE := $(if $(SVNEXEC),$(shell $(SVNEXEC) st -v $(SPECFILE) | cut -b 10- | ( read one two ; echo $$one ) ), CURRENT_VERSION_NUMBER) OSREL := $(shell ./find-osrel | ( read one two ; echo $$one )) SOURCE_RPM_DIR := $(HOME)/$(RPMDIR)/sources/$(NAME)-$(VERSION)-$(RELEASE)