2021-09-25 Fred Gleason <fredg@paravelsystems.com>

* Changed the shebang path in 'scripts/init_template_host.py' from
	'/usr/bin/python' to '/usr/bin/python3'.
	* Changed the shebang path in 'scripts/engine_conv.py' from
	'/usr/bin/python' to '/usr/bin/python3'.
	* Added 'qt5-qtbase-devel' and 'qt5-linguist' build dependencies
	to 'rivendell.spec.in'.

Signed-off-by: Fred Gleason <fredg@paraelsystems.com>
This commit is contained in:
Fred Gleason
2021-09-25 16:26:39 -04:00
parent 64e0a99bef
commit fb02fdb3fa
6 changed files with 26 additions and 9 deletions

View File

@@ -163,6 +163,7 @@ case "$ar_distro_id" in
AC_SUBST(HAVE_USERMODE,"no")
AC_SUBST(RDALSACONFIG_DESKTOP_FILE,"rivendell-rdalsaconfig-sudo.desktop")
AC_SUBST(RDDBCONFIG_DESKTOP_FILE,"rivendell-rddbconfig-sudo.desktop")
AC_SUBST(PYPAD_DEPS,"python3 python3-pycurl python3-requests python3-pyserial python3-mysql python3-urllib3")
;;
raspbian)
@@ -179,6 +180,7 @@ case "$ar_distro_id" in
AC_SUBST(HAVE_USERMODE,"no")
AC_SUBST(RDALSACONFIG_DESKTOP_FILE,"rivendell-rdalsaconfig-sudo.desktop")
AC_SUBST(RDDBCONFIG_DESKTOP_FILE,"rivendell-rddbconfig-sudo.desktop")
AC_SUBST(PYPAD_DEPS,"python3 python3-pycurl python3-requests python3-pyserial python3-mysql python3-urllib3")
;;
ubuntu)
@@ -195,6 +197,7 @@ case "$ar_distro_id" in
AC_SUBST(HAVE_USERMODE,"no")
AC_SUBST(RDALSACONFIG_DESKTOP_FILE,"rivendell-rdalsaconfig-sudo.desktop")
AC_SUBST(RDDBCONFIG_DESKTOP_FILE,"rivendell-rddbconfig-sudo.desktop")
AC_SUBST(PYPAD_DEPS,"python3 python3-pycurl python3-requests python3-pyserial python3-mysql python3-urllib3")
;;
centos|fedora|rhel|rocky)
@@ -221,7 +224,12 @@ case "$ar_distro_id" in
AC_SUBST(HAVE_USERMODE,"yes")
AC_SUBST(RDALSACONFIG_DESKTOP_FILE,"rivendell-rdalsaconfig-root.desktop")
AC_SUBST(RDDBCONFIG_DESKTOP_FILE,"rivendell-rddbconfig-root.desktop")
;;
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")
fi
;;
*)
AC_MSG_NOTICE([Distro is unknown])
@@ -235,6 +243,7 @@ case "$ar_distro_id" in
AC_SUBST(HAVE_USERMODE,"no")
AC_SUBST(RDALSACONFIG_DESKTOP_FILE,"rivendell-rdalsaconfig.desktop")
AC_SUBST(RDDBCONFIG_DESKTOP_FILE,"rivendell-rddbconfig.desktop")
AC_SUBST(PYPAD_DEPS,"python3 python3-pycurl python3-requests python3-pyserial python3-mysql python3-urllib3")
;;
esac