makedir := $(dir $(lastword $(MAKEFILE_LIST)))
topdir  := $(makedir)/..

srpm:
	dnf -y install npm jq
	$(MAKE) -C $(topdir) srpm
	cp $(topdir)/*.src.rpm $(outdir)

makedir := $(dir $(lastword $(MAKEFILE_LIST)))
topdir  := $(makedir)/..

srpm:
	dnf -y install npm jq git
	$(MAKE) -C $(topdir) srpm
	cp $(topdir)/*.src.rpm $(outdir)

Add git to the `make srpm` environment
Add git to the `make srpm` environment

This way we can generate a version number from `git describe`, via the
rpmversion.sh script.
