tests: specify the Fedora version when running fedpkg sources
So fedpkg will fetch the sources that matches given Fedora version. Signed-off-by: Coiby Xu <coxu@redhat.com> Reviewed-by: Philipp Rudo <prudo@redhat.com>
This commit is contained in:
parent
f91711ba8e
commit
2d5df7a512
@ -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
|
# to rebuild the rpm, currently use rpmbuild to have better control over the rpm building process
|
||||||
#
|
#
|
||||||
$(KEXEC_TOOLS_RPM): $(KEXEC_TOOLS_SRC)
|
$(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: $?
|
@echo Rebuilding RPM due to modification of sources: $?
|
||||||
rpmbuild $(RPMDEFINE) -ba $(REPO)/$(SPEC)
|
rpmbuild $(RPMDEFINE) -ba $(REPO)/$(SPEC)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user