So fedpkg will fetch the sources that matches given Fedora version.
Signed-off-by: Coiby Xu <coxu(a)redhat.com>
---
tests/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/Makefile b/tests/Makefile
index 8fb38c7..05fda1d 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -42,7 +42,7 @@ all: $(TEST_ROOT)/output/test-base-image
# to rebuild the rpm, currently use rpmbuild to have better control over the rpm building
process
#
$(KEXEC_TOOLS_RPM): $(KEXEC_TOOLS_SRC)
- sh -c "cd .. && fedpkg sources"
+ sh -c "cd .. && fedpkg --release f$(RELEASE) sources"
@echo Rebuilding RPM due to modification of sources: $?
rpmbuild $(RPMDEFINE) -ba $(REPO)/$(SPEC)
--
2.35.3