From fcc5e1697fc9ef2879451abdf70bacdee0333394 Mon Sep 17 00:00:00 2001 From: Trevor Batley Date: Sun, 3 Dec 2023 13:44:13 +1100 Subject: [PATCH] add packager and vendor --- koji-setup/koji-bootstrap-build.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/koji-setup/koji-bootstrap-build.sh b/koji-setup/koji-bootstrap-build.sh index 6992057..4b7ed28 100755 --- a/koji-setup/koji-bootstrap-build.sh +++ b/koji-setup/koji-bootstrap-build.sh @@ -58,6 +58,8 @@ if [[ -n "$SRC_RPM_DIR" && -n "$BIN_RPM_DIR" ]]; then rm -rf "$STAGING_RPM_DIR" "$HOME/.koji" fi +PACKAGER="Koozali.org " +VENDOR="Koozali.org " # Setup sme10 for building - based on centos 7 (el7) # sme10-os is the parent - all other sme10 repos will inherit most of this... RELEASE=10 @@ -75,6 +77,8 @@ sudo -u kojiadmin koji edit-tag -x mock.bootstrap_image="$BOOTSTRAPIMAGE" dist-" sudo -u kojiadmin koji edit-tag -x mock.chroot_setup_cmd="$CHROOTSETUPCMD" dist-"$TAG" sudo -u kojiadmin koji edit-tag -x rpm.macro.distribution="$DISTRIBUTION" dist-"$TAG" sudo -u kojiadmin koji edit-tag -x rpm.macro.dist="$DIST" dist-"$TAG" +sudo -u kojiadmin koji edit-tag -x rpm.macro.packager="$PACKAGER" dist-"$TAG" +sudo -u kojiadmin koji edit-tag -x rpm.macro.vendor="$VENDOR" dist-"$TAG" sudo -u kojiadmin koji add-group dist-"$TAG"-build build sudo -u kojiadmin koji add-group dist-"$TAG"-build srpm-build sudo -u kojiadmin koji add-group-pkg dist-"$TAG"-build build install scl-utils-build python27-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 @@ -145,6 +149,8 @@ for RELEASE in 11 12 ; do sudo -u kojiadmin koji edit-tag -x mock.chroot_setup_cmd="$CHROOTSETUPCMD" dist-"$TAG" sudo -u kojiadmin koji edit-tag -x rpm.macro.distribution="$DISTRIBUTION" dist-"$TAG" sudo -u kojiadmin koji edit-tag -x rpm.macro.dist="$DIST" dist-"$TAG" + sudo -u kojiadmin koji edit-tag -x rpm.macro.packager="$PACKAGER" dist-"$TAG" + sudo -u kojiadmin koji edit-tag -x rpm.macro.vendor="$VENDOR" dist-"$TAG" sudo -u kojiadmin koji add-group-pkg dist-"$TAG"-build 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 sudo -u kojiadmin koji add-group-pkg dist-"$TAG"-build srpm-build coreutils cpio elfutils file git git-lfs glibc-utils grep gzip make pigz rpm rpm-build sed tar unzip wget xz sudo -u kojiadmin koji add-external-repo -t dist-"$TAG"-build os$EL