bump fedora 39

This commit is contained in:
Gitouche 2024-06-07 16:57:25 +02:00
parent 51792285e5
commit 51e752e729

View file

@ -1,6 +1,6 @@
#!/usr/bin/env bash
FROMFEDORA='37'
FROMFEDORA='39'
PACKAGE='msmtp'
ABSDIR="$( dirname "$(readlink -f -- "$0")" )"
@ -30,6 +30,7 @@ get_src_rpm_url() {
get_src_rpm_url ${PACKAGE} PACKAGE_SRC_RPM_URL
get_src_rpm_url gettext GETTEXT_SRC_RPM_URL
get_src_rpm_url autoconf AUTOCONF_SRC_RPM_URL
ARCH=$(${DOCKER} run --rm docker.io/library/rockylinux:8 uname -i)
@ -40,7 +41,7 @@ dnf install -qy epel-release
dnf install -qy mock
useradd mockbuilder
usermod -a -G mock mockbuilder
runuser -l mockbuilder -c 'mock --localrepo=/tmp/ --chain -r rocky+epel-8-${ARCH} ${GETTEXT_SRC_RPM_URL} ${PACKAGE_SRC_RPM_URL}'
runuser -l mockbuilder -c 'mock --localrepo=/tmp/ --chain -r rocky+epel-8-${ARCH} ${AUTOCONF_SRC_RPM_URL} ${GETTEXT_SRC_RPM_URL} ${PACKAGE_SRC_RPM_URL}'
mv -f /tmp/results/*/${PACKAGE}-*/*.rpm /out/
EOF