[glusterfs/f15/master] Update 3.1.3, removing patches.
Jonathan Steffan
jsteffan at fedoraproject.org
Sun Apr 3 21:27:41 UTC 2011
commit 80a151f2d1ab70ffd1c04790d75b57599c276f5d
Author: Jonathan Steffan <jsteffan at fedoraproject.org>
Date: Sun Apr 3 15:27:30 2011 -0600
Update 3.1.3, removing patches.
.gitignore | 1 +
dht-fsetxattr.patch | 67 --------------------------------------------------
glusterd.logrotate | 2 +-
glusterfs.spec | 62 +++++++++++++++++++++-------------------------
glusterfsd.logrotate | 2 +-
inode-gen.patch | 12 ---------
sources | 2 +-
wb-quota.patch | 32 ------------------------
8 files changed, 32 insertions(+), 148 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index fb14a39..5c6a4c9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@ glusterfs-3.0.5.tar.gz
/glusterfs-3.0.7.tar.gz
/glusterfs-3.1.1.tar.gz
/glusterfs-3.1.2.tar.gz
+/glusterfs-3.1.3.tar.gz
diff --git a/glusterd.logrotate b/glusterd.logrotate
index 7301183..3fce646 100644
--- a/glusterd.logrotate
+++ b/glusterd.logrotate
@@ -1,4 +1,4 @@
-/var/log/glusterd/glusterd.log {
+/var/log/glusterfs/*glusterd.vol.log {
missingok
postrotate
/bin/kill -HUP `cat /var/run/glusterd.pid 2>/dev/null` 2>/dev/null || true
diff --git a/glusterfs.spec b/glusterfs.spec
index 14ca1f1..8bfbaa4 100644
--- a/glusterfs.spec
+++ b/glusterfs.spec
@@ -1,20 +1,21 @@
-%global major_minor 3.1
+%{?_without_rdma:%global _without_rdma --disable-ibverbs}
+%{?_without_epoll:%global _without_epoll --disable-epoll}
+%{?_with_fusermount:%gobal _with_fusermount --enable-fusermount}
+# No RDMA Support on x390(x)
%ifarch s390 s390x
-%global with_ib 0
-%else
-%global with_ib 1
+%{?_without_rdma:%global _without_rdma --disable-ibverbs}
%endif
Name: glusterfs
-Version: %{major_minor}.2
-Release: 4%{?dist}
+Version: 3.1.3
+Release: 1%{?dist}
Summary: Clustered file-system
Group: System Environment/Base
License: AGPLv3
URL: http://www.gluster.org/
-Source0: http://download.gluster.com/pub/gluster/glusterfs/%{major_minor}/%{version}/glusterfs-%{version}.tar.gz
+Source0: http://download.gluster.com/pub/gluster/glusterfs/3.1/%{version}/glusterfs-%{version}.tar.gz
Source1: glusterd.init
Source2: glusterd.sysconfig
Source3: umount.glusterfs
@@ -26,15 +27,6 @@ Source12: glusterfsd.sysconfig
Source15: glusterfsd.logrotate
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
-# bugs.gluster.com #2309 (pending)
-Patch1: wb-quota.patch
-
-# bugs.gluster.com #2311 (pending)
-Patch2: dht-fsetxattr.patch
-
-# CloudFS-specific
-Patch3: inode-gen.patch
-
BuildRequires: bison
BuildRequires: flex
BuildRequires: gcc
@@ -50,6 +42,7 @@ Obsoletes: %{name}-libs <= 2.0.0
Obsoletes: %{name}-common < 3.1.0
Provides: %{name}-libs = %{version}-%{release}
Provides: %{name}-common = %{version}-%{release}
+Provides: %{name}-core = %{version}-%{release}
%description
GlusterFS is a clustered file-system capable of scaling to several
@@ -64,7 +57,7 @@ This package includes the glusterfs binary, the glusterfsd daemon and the
gluster command line, libglusterfs and glusterfs translator modules common to
both GlusterFS server and client framework.
-%if %{with_ib}
+%if 0%{!?_without_rdma:1}
%package rdma
Summary: Support for ib-verbs
Group: Applications/File
@@ -109,6 +102,7 @@ This package provides support to FUSE based clients.
Summary: Clustered file-system server
Group: System Environment/Daemons
Requires: %{name} = %{version}-%{release}
+Requires: %{name}-fuse = %{version}-%{release}
%description server
GlusterFS is a clustered file-system capable of scaling to several
@@ -155,12 +149,9 @@ This package provides the development libraries.
%prep
%setup -q
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
%build
-%configure
+%configure %{?_without_rdma} %{?_without_epoll} %{?_with_fusermount}
# Remove rpath
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
@@ -170,7 +161,7 @@ sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
%{__make}
%install
-rm -rf %{buildroot}
+%{__rm} -rf %{buildroot}
%{__make} install DESTDIR=%{buildroot}
# We'll use our init.d
@@ -249,32 +240,26 @@ sed -i 's|option working-directory /etc/glusterd|option working-directory %{_sha
%{buildroot}%{_datadir}/vim/vimfiles/syntax/glusterfs.vim
%clean
-rm -rf %{buildroot}
+%{__rm} -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc ChangeLog COPYING INSTALL README THANKS
%config(noreplace) %{_sysconfdir}/logrotate.d/glusterd
%config(noreplace) %{_sysconfdir}/sysconfig/glusterd
-%{_datadir}/glusterfs
-%{_bindir}/glusterfs-volgen
%{_libdir}/glusterfs
%{_libdir}/*.so.*
%{_sbindir}/glusterfs*
-%{_bindir}/glusterfs-defrag
%{_sbindir}/gluster
%{_sbindir}/glusterd
-%{_mandir}/man8/*glusterfs.8*
-%{_mandir}/man8/*gluster.8*
-%{_mandir}/man8/*glusterd.8*
-%{_mandir}/man8/*glusterfs-volgen.8*
+%{_mandir}/man8/*gluster*.8*
%dir %{_localstatedir}/log/glusterfs
-%if %{with_ib}
+%if 0%{!?_without_rdma:1}
%exclude %{_libdir}/glusterfs/%{version}/rpc-transport/rdma*
%endif
%exclude %{_libdir}/glusterfs/%{version}/xlator/mount/fuse*
-%if %{with_ib}
+%if 0%{!?_without_rdma:1}
%files rdma
%defattr(-,root,root,-)
%{_libdir}/glusterfs/%{version}/rpc-transport/rdma*
@@ -287,8 +272,13 @@ rm -rf %{buildroot}
%{_mandir}/man8/mount.glusterfs.8*
/sbin/mount.glusterfs
/sbin/umount.glusterfs
+%if 0%{?_with_fusermount:1}
+%{_bindir}/fusermount-glusterfs
+%endif
+
%files server
+%defattr(-,root,root,-)
%doc examples/ doc/glusterfs*.vol.sample
%config(noreplace) %{_sysconfdir}/logrotate.d/glusterd
%config(noreplace) %{_sysconfdir}/sysconfig/glusterd
@@ -307,6 +297,7 @@ rm -rf %{buildroot}
%{_datadir}/vim/vimfiles/syntax/glusterfs.vim
%files devel
+%defattr(-,root,root,-)
%{_includedir}/glusterfs
%exclude %{_includedir}/glusterfs/y.tab.h
%{_libdir}/*.so
@@ -340,8 +331,11 @@ if [ $1 -ge 1 ]; then
fi
%changelog
-* Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.1.2-4
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
+* Sun Mar 19 2011 Jonathan Steffan <jsteffan at fedoraproject.org> - 3.1.3-1
+- Update to 3.1.3
+- Merge in more upstream SPEC changes
+- Remove patches from GlusterFS bugzilla #2309 and #2311
+- Remove inode-gen.patch
* Sun Feb 06 2011 Jonathan Steffan <jsteffan at fedoraproject.org> - 3.1.2-3
- Add back in legacy SPEC elements to support older branches
diff --git a/glusterfsd.logrotate b/glusterfsd.logrotate
index 85650c0..81d1abc 100644
--- a/glusterfsd.logrotate
+++ b/glusterfsd.logrotate
@@ -1,4 +1,4 @@
-/var/log/glusterfs/glusterfsd.log {
+/var/log/glusterfs/*glusterfsd.log /var/log/glusterfs/bricks/*.log {
missingok
postrotate
/bin/kill -HUP `cat /var/run/glusterfsd.pid 2>/dev/null` 2>/dev/null || true
diff --git a/sources b/sources
index 297f017..ec0fbc0 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-9dee75180db951cde971722f80779769 glusterfs-3.1.2.tar.gz
+360fdd2a10446b93d72a962252dc85c4 glusterfs-3.1.3.tar.gz
More information about the scm-commits
mailing list