From 9bd0d16d2b8b7a2b25557795d06475963ff06957 Mon Sep 17 00:00:00 2001 From: Ken Dreyer Date: Aug 24 2021 14:20:05 +0000 Subject: make: srpm step requires spec step --- diff --git a/Makefile b/Makefile index 95a9b13..2ae999b 100644 --- a/Makefile +++ b/Makefile @@ -47,7 +47,7 @@ spec: pre ## Patch and build the cephadm spec file src: ## Download the cephadm sources according to the last hash $(SPECTOOL) -g SPECS/cephadm.spec -C SOURCES -f -srpm: ## Build the srpm +srpm: spec ## Build the srpm $(RPMBUILD) -bs $(PWD)/SPECS/cephadm.spec \ --define "_sourcedir $(PWD)/SOURCES" \ --define "_srcrpmdir $(PWD)/SRPMS" \