fix fedora39 build
This commit is contained in:
parent
51e752e729
commit
9e9a6f4b47
|
@ -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 automake AUTOMAKE_SRC_RPM_URL
|
||||
get_src_rpm_url autoconf AUTOCONF_SRC_RPM_URL
|
||||
|
||||
ARCH=$(${DOCKER} run --rm docker.io/library/rockylinux:8 uname -i)
|
||||
|
@ -41,7 +42,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} ${AUTOCONF_SRC_RPM_URL} ${GETTEXT_SRC_RPM_URL} ${PACKAGE_SRC_RPM_URL}'
|
||||
runuser -l mockbuilder -c 'mock -v --localrepo=/tmp/ --chain -r rocky+epel-8-${ARCH} ${AUTOCONF_SRC_RPM_URL} ${AUTOMAKE_SRC_RPM_URL} ${GETTEXT_SRC_RPM_URL} ${PACKAGE_SRC_RPM_URL}'
|
||||
mv -f /tmp/results/*/${PACKAGE}-*/*.rpm /out/
|
||||
EOF
|
||||
|
||||
|
|
Loading…
Reference in a new issue