File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -65,13 +65,9 @@ RUN microdnf upgrade -y --nobest && \
6565 ARCH="$(arch)" && \
6666 for p in /tmp/postgres-libs.rpm /tmp/postgres.rpm /tmp/postgres-server.rpm /tmp/postgres-contrib.rpm; do \
6767 test -e "$p" || { echo "ERROR: Missing $p" ; exit 1; }; \
68- # dist tag must be .el${RHEL_MAJOR} (or rhel${RHEL_MAJOR}); arch must match
69- if ! rpm -qp --qf '%{DIST}\n ' "$p" | grep -Eq '(\. el' "${RHEL_MAJOR}" '|rhel' "${RHEL_MAJOR}" ')' ; then \
68+ if ! rpm -qp --qf '%{RELEASE}\n ' "$p" | grep -Eq '(\. el' "${RHEL_MAJOR}" '|rhel' "${RHEL_MAJOR}" ')' ; then \
7069 echo "ERROR: $p is not an EL${RHEL_MAJOR} build." ; exit 1; \
7170 fi; \
72- if ! rpm -qp --qf '%{ARCH}\n ' "$p" | grep -qx "${ARCH}" ; then \
73- echo "ERROR: $p arch does not match ${ARCH}." ; exit 1; \
74- fi; \
7571 # must NOT require OPENSSL_3.4 on EL8/EL9
7672 if [ "${RHEL_MAJOR}" -lt 10 ] && rpm -qpR "$p" | grep -q 'OPENSSL_3\. 4' ; then \
7773 echo "ERROR: $p requires OPENSSL_3.4, incompatible with EL${RHEL_MAJOR} (OpenSSL 3.0)." ; exit 1; \
You can’t perform that action at this time.
0 commit comments