glusterfs-3.3.1-11, /var/run/gluster and rhel5 portmap

This commit is contained in:
Kaleb S. KEITHLEY 2013-03-06 00:04:35 -05:00
parent 8efab531db
commit fff038fc28

View File

@ -40,7 +40,7 @@ Summary: Cluster File System
%if 0%{_for_fedora_koji_builds}
Name: glusterfs
Version: 3.3.1
Release: 10%{?dist}
Release: 11%{?dist}
%else
Name: @PACKAGE_NAME@
Version: @PACKAGE_VERSION@
@ -215,7 +215,11 @@ License: GPLv3+
Group: System Environment/Daemons
Requires: %{name} = %{version}-%{release}
Requires: %{name}-fuse = %{version}-%{release}
%if ( 0%{?fedora} ) || ( 0%{?rhel} && 0%{?rhel} >= 6 )
Requires: rpcbind
%else
Requires: portmap
%endif
%description server
GlusterFS is a clustered file-system capable of scaling to several
@ -544,6 +548,7 @@ cd ..
%{__mkdir_p} %{buildroot}%{_localstatedir}/log/glusterd
%{__mkdir_p} %{buildroot}%{_localstatedir}/log/glusterfs
%{__mkdir_p} %{buildroot}%{_localstatedir}/log/glusterfsd
%{__mkdir_p} %{buildroot}%{_localstatedir}/run/gluster
# Remove unwanted files from all the shared libraries
find %{buildroot}%{_libdir} -name '*.a' -delete
@ -735,6 +740,7 @@ cp ufo/bin/gluster-swift-gen-builders %{buildroot}%{_bindir}/
%{_libexecdir}/glusterfs
%{_mandir}/man8/*gluster*.8*
%dir %{_localstatedir}/log/glusterfs
%dir %{_localstatedir}/run/gluster
%dir %{_sharedstatedir}/glusterd
%if 0%{!?_without_rdma:1}
%exclude %{_libdir}/glusterfs/%{version}/rpc-transport/rdma*
@ -1165,6 +1171,10 @@ fi
%changelog
* Wed Mar 6 2013 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 3.3.1-11
- /var/run/gluster - sync with gluster.org git
- Requires: portmap for rhel5 instead of rpcbind
* Tue Feb 5 2013 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 3.3.1-10
- sync with glusterfs.spec(.in) from gluster.org git source