diff --git a/make/rpmdist.mk b/make/rpmdist.mk index 8b64d1d1..3cd7eb48 100644 --- a/make/rpmdist.mk +++ b/make/rpmdist.mk @@ -159,8 +159,10 @@ define increase_build_number $(check_cvs_sync) ;\ fi ;\ if [ "$(LAST_RPM_VERSION)" != $(RPM_VERSION) ]; then \ + echo "+ no need to increase build number of $(RPM_VERSION), last rpm has $(LAST_RPM_VERSION)" ;\ exit 0 ;\ fi ;\ + echo -n "+ increasing build number to " ;\ echo $(MAJOR_MINOR_RELEASE)-$(shell expr $(BUILD_NUMBER) + 1)-dev | tee VERSION ;\ echo $(HASH) > HASH ;\ if ! grep -q HASH CVS/Entries; then \