From deed27b4b4ffc4e1d82c64d3fea3a670022a80fe Mon Sep 17 00:00:00 2001 From: Niels de Vos Date: May 25 2023 11:44:15 +0000 Subject: Use Python 3.6 instead of /usr/libexec/platform-python --- diff --git a/SPECS/glusterfs.spec b/SPECS/glusterfs.spec index d66ed1c..bae33a7 100644 --- a/SPECS/glusterfs.spec +++ b/SPECS/glusterfs.spec @@ -291,6 +291,9 @@ BuildRequires: gperftools-devel %if ( 0%{?rhel} && 0%{?rhel} < 8 ) BuildRequires: python-ctypes %endif +%if ( 0%{?rhel} && 0%{?rhel} == 8 ) +BuildRequires: python36-rpm-macros +%endif %if ( ( 0%{?_with_ipv6default:1} ) || ( 0%{!?_without_libtirpc:1} ) ) BuildRequires: libtirpc-devel %endif @@ -1662,6 +1665,9 @@ exit 0 %endif %changelog +* Thu May 25 2023 Niels de Vos +- include BuildRequires python36-rpm-macros for correct Python shebang + * Mon Feb 13 2023 Niels de Vos - 11.0-1 - GlusterFS 11.0 GA