rpm-build not rpmbuild

This commit is contained in:
Trevor Batley 2023-11-06 20:46:28 +11:00
parent 9aa9ebe702
commit d51e354623

View File

@ -125,7 +125,7 @@ EL="8"
DIST= ".el$EL.sme" DIST= ".el$EL.sme"
PKGMANAGER="dnf" PKGMANAGER="dnf"
BOOTSTRAPIMAGE="rockylinux:$EL" BOOTSTRAPIMAGE="rockylinux:$EL"
CHROOTSETUPCMD=' install epel-rpm-macros bash bzip2 coreutils cpio diffutils findutils gawk gcc gcc-c++ grep gzip info make patch redhat-rpm-config rpmbuild sed shadow-utils tar unzip util-linux which yum-utils xz ' CHROOTSETUPCMD=' install 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-external-repo os$EL https://dl.rockylinux.org/pub/rocky/$EL/BaseOS/x86_64/os/ sudo -u kojiadmin koji add-external-repo os$EL https://dl.rockylinux.org/pub/rocky/$EL/BaseOS/x86_64/os/
# mirrorList=http://mirrors.rockylinux.org/mirrorlist?release=$EL&arch=x86_64&repo=BaseOS-$EL # mirrorList=http://mirrors.rockylinux.org/mirrorlist?release=$EL&arch=x86_64&repo=BaseOS-$EL
sudo -u kojiadmin koji add-external-repo appstream$EL https://dl.rockylinux.org/pub/rocky/$EL/AppStream/x86_64/os/ sudo -u kojiadmin koji add-external-repo appstream$EL https://dl.rockylinux.org/pub/rocky/$EL/AppStream/x86_64/os/
@ -152,8 +152,8 @@ for RELEASE in 11 12 ; do
sudo -u kojiadmin koji edit-tag dist-"$TAG" -x rpm.macro.packager=$PACKAGER sudo -u kojiadmin koji edit-tag dist-"$TAG" -x rpm.macro.packager=$PACKAGER
sudo -u kojiadmin koji edit-tag dist-"$TAG" -x rpm.macro.vendor=$VENDOR sudo -u kojiadmin koji edit-tag dist-"$TAG" -x rpm.macro.vendor=$VENDOR
sudo -u kojiadmin koji edit-tag dist-"$TAG" -x rpm.macro.dist=$DIST sudo -u kojiadmin koji edit-tag dist-"$TAG" -x rpm.macro.dist=$DIST
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 rpmbuild sed shadow-utils tar unzip util-linux which yum-utils xz 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 curl-bin elfutils file git glibc-utils grep gzip make pigz plzip rpm rpmbuild sed shadow tar unzip wget xz sudo -u kojiadmin koji add-group-pkg dist-"$TAG"-build srpm-build coreutils cpio curl-bin elfutils file git glibc-utils grep gzip make pigz plzip rpm rpm-build sed shadow tar unzip wget xz
sudo -u kojiadmin koji add-external-repo -t dist-"$TAG"-build os$EL sudo -u kojiadmin koji add-external-repo -t dist-"$TAG"-build os$EL
sudo -u kojiadmin koji add-external-repo -t dist-"$TAG"-build appstream$EL sudo -u kojiadmin koji add-external-repo -t dist-"$TAG"-build appstream$EL
sudo -u kojiadmin koji add-external-repo -t dist-"$TAG"-build powertools$EL sudo -u kojiadmin koji add-external-repo -t dist-"$TAG"-build powertools$EL
@ -171,8 +171,8 @@ for RELEASE in 11 12 ; do
sudo -u kojiadmin koji edit-tag dist-"$TAG" -x mock.chroot_setup_cmd="$CHROOTSETUPCMD" sudo -u kojiadmin koji edit-tag dist-"$TAG" -x mock.chroot_setup_cmd="$CHROOTSETUPCMD"
sudo -u kojiadmin koji add-group dist-"$TAG"-build build 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 dist-"$TAG"-build srpm-build
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 rpmbuild sed shadow-utils tar unzip util-linux which yum-utils xz 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 rpmbuild coreutils cpio curl-bin elfutils file git glibc-utils grep gzip make pigz plzip rpm sed shadow tar unzip wget xz sudo -u kojiadmin koji add-group-pkg dist-"$TAG"-build srpm-build rpm-build coreutils cpio curl-bin elfutils file git glibc-utils grep gzip make pigz plzip rpm sed shadow tar unzip wget xz
sudo -u kojiadmin koji regen-repo dist-$TAG-build --nowait sudo -u kojiadmin koji regen-repo dist-$TAG-build --nowait
# setup the rest of the repos # setup the rest of the repos
for REPO in addons updates updates-testing testing ; do for REPO in addons updates updates-testing testing ; do