From 373cbad44cd668f1d2ae75531c8901ffeb6ae2a7 Mon Sep 17 00:00:00 2001 From: William Douglas Date: Tue, 12 Mar 2024 15:31:04 -0700 Subject: [PATCH] Add koji-tag and koji-untag targets Add koji-tag and koji-untag targets that can be used to tag and untag dist-clear on the current nvr build of the package in koji. Signed-off-by: William Douglas --- Makefile.common | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Makefile.common b/Makefile.common index 8bbef21..21a9ff4 100644 --- a/Makefile.common +++ b/Makefile.common @@ -391,6 +391,17 @@ koji-waitrepo: kojidef koji wait-repo --build=${SRPMVERS} ${WAIT_OPTS} ${KOJI_TAG}-build; \ fi +.PHONY: koji-tag +#help koji-tag: runs koji tag-pkg on what's in the current specfile's nvr +koji-tag: + koji tag-pkg dist-clear echo $(SRPMVERS) + +.PHONY: koji-untag +#help koji-untag: runs koji untag-pkg on what's in the current specfile's nvr +koji-untag: + koji untag-pkg dist-clear echo $(SRPMVERS) + + update-versions: .PHONY: update