mirror of
https://github.com/percona/pg_stat_monitor.git
synced 2026-02-04 05:56:21 +00:00
PKG-922 fix rhel10 build
This commit is contained in:
committed by
Artem Gavrilov
parent
f334af03a6
commit
0d8551cb84
@@ -405,6 +405,9 @@ build_rpm(){
|
||||
fi
|
||||
export LIBPQ_DIR=/usr/pgsql-${PG_RELEASE}/
|
||||
export LIBRARY_PATH=/usr/pgsql-${PG_RELEASE}/lib/:/usr/pgsql-${PG_RELEASE}/include/
|
||||
if [[ "${RHEL}" -eq 10 ]]; then
|
||||
export QA_RPATHS=0x0002
|
||||
fi
|
||||
rpmbuild --define "_topdir ${WORKDIR}/rpmbuild" --define "dist .$OS_NAME" --define "version ${VERSION}" --rebuild rpmbuild/SRPMS/$SRC_RPM
|
||||
|
||||
return_code=$?
|
||||
|
||||
Reference in New Issue
Block a user