From 16467cfbc00dea72b37b656a9dab514dc55cab26 Mon Sep 17 00:00:00 2001 From: Patrick McCarty Date: Tue, 31 Jul 2018 12:41:11 -0700 Subject: [PATCH] Avoid appending to srpm logs Mock will append the binary rpm build logs to the srpm logs, but this is confusing. After the srpm finishes building, rename the log files to avoid this behavior. Signed-off-by: Patrick McCarty --- Makefile.common | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile.common b/Makefile.common index 6f9d617..a4efc9c 100644 --- a/Makefile.common +++ b/Makefile.common @@ -118,6 +118,8 @@ shell: $(SRPMFILE): $(SPECFILE) $(__allsources) localreponotice @$(MAKE) spdxcheck $(MOCK) --buildsrpm --source=./ --spec=$(SPECFILE) --result=results/ --no-cleanup-after --uniqueext=$(PKG_NAME) + mv results/root.log results/srpm-root.log + mv results/build.log results/srpm-build.log # Do a git fetch and a git rebase to apply local commits on top of latest # commits from the remote. A git fetch/rebase is used rather than a git pull so