fix sme12 tags

This commit is contained in:
Trevor Batley 2024-07-18 17:24:47 +10:00
parent 6cbb85685b
commit e56c101bcc

View File

@ -176,7 +176,7 @@ sudo -u kojiadmin koji add-target $RELEASE-test "$BUILDTAG" "dist-$RELEASE-testi
sudo -u kojiadmin koji add-target $RELEASE-contribs-test "$BUILDTAG" "dist-$RELEASE-contribs-testing"
# Release sme12 is based on Rocky 9 (EL9)
RELEASE="12"
RELEASE="sme12"
DISTRIBUTION="SME Server v$RELEASE"
TAG="dist-$RELEASE-os"
EL="9"
@ -197,14 +197,13 @@ sudo -u kojiadmin koji add-external-repo rpmfusion$EL http://download1.rpmfusion
# Setup the os repo - parent of others who will inherit most properties
sudo -u kojiadmin koji add-tag --arches="$RPM_ARCH" "$TAG"
sudo -u kojiadmin koji edit-tag "$TAG" -x mock.package_manager="$PKGMANAGER"
sudo -u kojiadmin koji add-tag --parent "$TAG" --arches="$RPM_ARCH" "$TAG"-build
sudo -u kojiadmin koji edit-tag -x mock.bootstrap_image="$BOOTSTRAPIMAGE" "$TAG"
sudo -u kojiadmin koji edit-tag -x rpm.macro.distribution="$DISTRIBUTION" "$TAG"
sudo -u kojiadmin koji edit-tag -x rpm.macro.dist="$DIST" "$TAG"
sudo -u kojiadmin koji edit-tag -x rpm.macro.packager="$PACKAGER" "$TAG"
sudo -u kojiadmin koji edit-tag -x rpm.macro.vendor="$VENDOR" "$TAG"
# add build tag for all $RELEASE targets
BUILDTAG="$RELEASE-build"
BUILDTAG="dist-$RELEASE-build"
sudo -u kojiadmin koji add-tag --parent dist-"$PARENT" --arches="$RPM_ARCH" "$BUILDTAG"
sudo -u kojiadmin koji add-group "$BUILDTAG" build
sudo -u kojiadmin koji add-group-pkg "$BUILDTAG" build epel-rpm-macros bash bzip2 coreutils cpio diffutils findutils gawk gcc gcc-c++ grep gzip info make patch redhat-rpm-config rpm-build sed shadow-utils tar unzip util-linux which yum-utils xz