mirror of
https://github.com/clearlinux/common.git
synced 2026-08-26 16:28:11 +00:00
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 <patrick.mccarty@intel.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user