mirror of
https://github.com/clearlinux/common.git
synced 2026-09-07 22:31:39 +00:00
Makefile.common: Add bump.list to make koji
Add the ability for make koji to look a bump.list file in the package directory and make and koji all the packages listed in that file. This is useful for package's that depend on the updated package and should be rebuilt after the original package is. If for some reason this functionality isn't desired make koji-nowait will not look at the bump.list. Signed-off-by: William Douglas <william.douglas@intel.com>
This commit is contained in:
@@ -329,6 +329,12 @@ koji: prekoji-checks kojidef
|
||||
git tag $(SRPMVERS)
|
||||
git push origin $(CURRENT_BRANCH):main refs/tags/$(SRPMVERS)
|
||||
$(KOJI_CMD) build $$KOJI_NOWAIT $(KOJI_TAG) $(PKG_BASE_URL)/$(PKG_NAME)?#$(SRPMVERS)
|
||||
@if [ -f bump.list ]; then \
|
||||
$(MAKE) koji-waitrepo; \
|
||||
for bump_dep in $$(cat bump.list); do \
|
||||
(cd ../"$$bump_dep" && $(MAKE) bump && $(MAKE) koji-nowait) \
|
||||
done \
|
||||
fi
|
||||
|
||||
#help rekoji: In case a previous 'make koji' failed, trigger a rebuild for the
|
||||
#help same tag.
|
||||
|
||||
Reference in New Issue
Block a user