bump fedora 39
This commit is contained in:
parent
51792285e5
commit
51e752e729
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
FROMFEDORA='37'
|
FROMFEDORA='39'
|
||||||
PACKAGE='msmtp'
|
PACKAGE='msmtp'
|
||||||
|
|
||||||
ABSDIR="$( dirname "$(readlink -f -- "$0")" )"
|
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 ${PACKAGE} PACKAGE_SRC_RPM_URL
|
||||||
get_src_rpm_url gettext GETTEXT_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)
|
ARCH=$(${DOCKER} run --rm docker.io/library/rockylinux:8 uname -i)
|
||||||
|
|
||||||
|
@ -40,7 +41,7 @@ dnf install -qy epel-release
|
||||||
dnf install -qy mock
|
dnf install -qy mock
|
||||||
useradd mockbuilder
|
useradd mockbuilder
|
||||||
usermod -a -G mock 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/
|
mv -f /tmp/results/*/${PACKAGE}-*/*.rpm /out/
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue