diff --git a/ChangeLog b/ChangeLog index 329048fd..7f9e30d4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -23712,3 +23712,6 @@ 2022-11-21 Fred Gleason * Modified build system to use pkg-config(1) to detect ALSA and JACK support elements in 'configure'. +2022-11-22 Fred Gleason + * Changed the 'python3-mysql' dependency to 'python3-mysqlclient' + in the RPM package for RHEL9 and above. diff --git a/configure.ac b/configure.ac index a8280f02..754ea3a3 100644 --- a/configure.ac +++ b/configure.ac @@ -215,7 +215,11 @@ case "$ar_distro_id" in if test $ar_distro_major -lt 8 ; then AC_SUBST(PYPAD_DEPS,"python36 python36-pycurl python36-requests python36-pyserial python36-mysql python36-urllib3") else - AC_SUBST(PYPAD_DEPS,"python3 python3-pycurl python3-requests python3-pyserial python3-mysql python3-urllib3") + if test $ar_distro_major -lt 9 ; then + AC_SUBST(PYPAD_DEPS,"python3 python3-pycurl python3-requests python3-pyserial python3-mysql python3-urllib3") + else + AC_SUBST(PYPAD_DEPS,"python3 python3-pycurl python3-requests python3-pyserial python3-mysqlclient python3-urllib3") + fi fi AC_SUBST(RIVENDELL_PAM_FILE,"rivendell-rhel.pam") ;;