.PHONY: srpm

srpm:
	bash build.sh $(outdir)

MAKE_FILE_DIR := $(realpath $(dir $(firstword $(MAKEFILE_LIST))))

.PHONY: srpm

srpm:
	bash $(MAKE_FILE_DIR)/build.sh $(outdir)

Fix Makefile to use the right path to execute build.sh
packaging: Fix Makefile to use the right path to execute build.sh
