diff --git a/mockbuild_test/generate_sourcerpms.sh b/mockbuild_test/generate_sourcerpms.sh index 970af58..6b4e6f2 100755 --- a/mockbuild_test/generate_sourcerpms.sh +++ b/mockbuild_test/generate_sourcerpms.sh @@ -16,10 +16,14 @@ if [ -z "$DIST_RELEASE" ]; then fi case $DIST_RELEASE in -"centos-stream") +"centos-9-stream") MOCKCONFIG="/etc/mock/centos-stream-9-x86_64.cfg" ;; +"centos-10-stream") + MOCKCONFIG="/etc/mock/centos-stream-10-x86_64.cfg" + ;; + "fedora-rawhide") MOCKCONFIG="/etc/mock/fedora-rawhide-x86_64.cfg" ;; @@ -37,7 +41,7 @@ case $DIST_RELEASE in ;; *) - echo "Usage: $0 centos-stream | fedora-rawhide | fedora-latest" + echo "Usage: $0 centos-9-stream | centos-10-stream | fedora-rawhide | fedora-latest" exit 1 ;; esac diff --git a/mockbuild_test/mockbuild.sh b/mockbuild_test/mockbuild.sh index bdb62cf..92aedfd 100755 --- a/mockbuild_test/mockbuild.sh +++ b/mockbuild_test/mockbuild.sh @@ -16,11 +16,16 @@ if [ -z "$DIST_RELEASE" ]; then fi case $DIST_RELEASE in -"centos-stream") +"centos-9-stream") DIST="el9" MOCKCONFIG="/etc/mock/centos-stream-9-x86_64.cfg" ;; +"centos-10-stream") + DIST="el10" + MOCKCONFIG="/etc/mock/centos-stream-10-x86_64.cfg" + ;; + "fedora-rawhide") DIST="fc42" MOCKCONFIG="/etc/mock/fedora-rawhide-x86_64.cfg" @@ -42,7 +47,7 @@ case $DIST_RELEASE in ;; *) - echo "Usage: $0 centos-stream | fedora-rawhide | fedora-next | fedora-latest | fedora-previous" + echo "Usage: $0 centos-9-stream | centos-10-stream | fedora-rawhide | fedora-next | fedora-latest | fedora-previous" exit 1 ;; esac