From 9bc4fd20371e32d5302a211e7b4aef36538bed4c Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Tue, 7 Jan 2020 11:50:40 +0000 Subject: [PATCH] Use koji build directly instead of fedpkg build. Allows us to specify an alternative koji --profile option in %koji. --- Goalfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Goalfile b/Goalfile index 19ed946..6d4ef07 100644 --- a/Goalfile +++ b/Goalfile @@ -103,7 +103,12 @@ goal rebuild (pkg) = fi fedpkg commit -c fedpkg push - fedpkg build + if [ %koji = "koji" ]; then + fedpkg build + else + hash=$(git rev-parse HEAD) + %koji build "git+https://src.fedoraproject.org/rpms/"%pkg".git#$hash" %side-tag + fi } # Get the source package names for a particular package. -- 1.8.3.1