Browse Source

gluster use python3 and we don't need firewalld

Signed-off-by: basebuilder_pel7ppc64bebuilder0 <basebuilder@powerel.org>
master
basebuilder_pel7ppc64bebuilder0 6 years ago
parent
commit
2ae2f871ef
  1. 4
      SPECS/glusterfs.spec

4
SPECS/glusterfs.spec

@ -160,7 +160,7 @@
%global _without_ocf --without-ocf %global _without_ocf --without-ocf
%endif %endif


%if ( 0%{?fedora} ) || ( 0%{?rhel} && 0%{?rhel} > 7 ) %if ( 0%{?fedora} ) || ( 0%{?rhel} && 0%{?rhel} >= 7 )
%global _usepython3 1 %global _usepython3 1
%global _pythonver 3 %global _pythonver 3
%else %else
@ -673,7 +673,7 @@ Requires(postun): /sbin/ldconfig
%if ( 0%{!?rhel} ) %if ( 0%{!?rhel} )
# not on RHEL because firewalld-filesystem appeared in 7.3 # not on RHEL because firewalld-filesystem appeared in 7.3
# when EL7 rpm gets weak dependencies we can add a Suggests: # when EL7 rpm gets weak dependencies we can add a Suggests:
Requires: firewalld-filesystem #Requires: firewalld-filesystem
%endif %endif
%endif %endif
%if ( 0%{?fedora} ) || ( 0%{?rhel} ) %if ( 0%{?fedora} ) || ( 0%{?rhel} )

Loading…
Cancel
Save