[glusterfs] glusterfs-3.3.1-11, /var/run/gluster and rhel5 portmap
Kaleb S. KEITHLEY
kkeithle at fedoraproject.org
Wed Mar 6 05:05:24 UTC 2013
commit fff038fc28115281265278e532ec4f89b8d8f213
Author: Kaleb S. KEITHLEY <kkeithle at redhat.com>
Date: Wed Mar 6 00:04:35 2013 -0500
glusterfs-3.3.1-11, /var/run/gluster and rhel5 portmap
glusterfs.spec | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
---
diff --git a/glusterfs.spec b/glusterfs.spec
index 7c332d8..13095fc 100644
--- a/glusterfs.spec
+++ b/glusterfs.spec
@@ -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
More information about the scm-commits
mailing list