summaryrefslogtreecommitdiffstats
path: root/glusterfs.spec.in
diff options
context:
space:
mode:
authorVijay Bellur <vijay@gluster.com>2011-09-08 14:24:26 +0530
committerVijay Bellur <vijay@gluster.com>2011-09-11 21:51:56 -0700
commit64d8ab605ec507d378dfd89c3857a63fbf1858fb (patch)
treeb58af0ed8608e7ea16d65c9a797804de60558b1a /glusterfs.spec.in
parenta7dc1a97a29b29132081d8082c4c6f69f5c967f1 (diff)
Whitespace cleanup and change license to GPLv3+ in rpm spec
Change-Id: If9af6ae0c00606dd0859363d42dacb2f365201af BUG: 3348 Reviewed-on: http://review.gluster.com/374 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Amar Tumballi <amar@gluster.com>
Diffstat (limited to 'glusterfs.spec.in')
-rw-r--r--glusterfs.spec.in30
1 files changed, 15 insertions, 15 deletions
diff --git a/glusterfs.spec.in b/glusterfs.spec.in
index 6815ccc86a6..34d28ce89a5 100644
--- a/glusterfs.spec.in
+++ b/glusterfs.spec.in
@@ -1,4 +1,4 @@
-# if you make changes, the it is advised to increment this number, and provide
+# if you make changes, the it is advised to increment this number, and provide
# a descriptive suffix to identify who owns or what the change represents
# e.g. release_version 2.MSW
%define release 1%{?dist}
@@ -24,7 +24,7 @@ Summary: Cluster File System
Name: @PACKAGE_NAME@
Version: @PACKAGE_VERSION@
Release: %{release}
-License: AGPLv3+
+License: GPLv3+
Group: System Environment/Base
Vendor: Gluster Inc
Packager: @PACKAGE_BUGREPORT@
@@ -35,7 +35,7 @@ Requires(post): /sbin/chkconfig
Requires(preun): /sbin/service, /sbin/chkconfig
Requires(postun): /sbin/service
-BuildRequires: bison flex
+BuildRequires: bison flex
BuildRequires: gcc make
%define _prefix /opt/%{name}/%{version}
@@ -49,7 +49,7 @@ called Translators from GNU Hurd kernel. Much of the code in GlusterFS
is in userspace and easily manageable.
%package core
-Summary: GlusterFS common files for both the client and the server
+Summary: GlusterFS common files for both the client and the server
Group: System Environment/Libraries
Obsoletes: glusterfs-libs <= 2.0.0 glusterfs-common < 3.1.0 glusterfs-server < 3.1.0
Provides: glusterfs-libs = %{version}-%{release}
@@ -135,7 +135,7 @@ sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
%install
-%{__rm} -rf %{buildroot}
+%{__rm} -rf %{buildroot}
%{__make} install DESTDIR=%{buildroot}
%{__mkdir_p} %{buildroot}/usr/sbin
%{__mkdir_p} %{buildroot}/usr/local/libexec/glusterfs
@@ -167,10 +167,10 @@ echo "%{_prefix}/lib64" > /etc/ld.so.conf.d/glusterfs.conf
if [ -d /etc/glusterd/vols ]; then
#for each dir under vols, backup non-fuse .vol files as .Vol.old
-for file in `find /etc/glusterd/vols -type f ! -name *-fuse.vol `;
+for file in `find /etc/glusterd/vols -type f ! -name *-fuse.vol `;
do
-grep ".vol" $file &> /dev/null && fname=`basename $file .vol` && dname=`dirname $file` && cp $file $dname/$fname.Vol.old
-done
+grep ".vol" $file &> /dev/null && fname=`basename $file .vol` && dname=`dirname $file` && cp $file $dname/$fname.Vol.old
+done
fi
pidof -c -o %PPID -x glusterd &> /dev/null
@@ -196,7 +196,7 @@ fi
/sbin/ldconfig -n %{_libdir}
%preun core
-if [ $1 -eq 0 ]; then
+if [ $1 -eq 0 ]; then
/sbin/chkconfig --del glusterd
fi
@@ -205,7 +205,7 @@ fi
%doc AUTHORS ChangeLog COPYING INSTALL NEWS README THANKS EXCEPTIONS
%doc %{_datadir}/doc/glusterfs
%if 0%{?_with_fusermount:1}
-%{_bindir}/fusermount-glusterfs
+%{_bindir}/fusermount-glusterfs
%endif
%{_libdir}/glusterfs
%{_libdir}/*.so.*
@@ -258,11 +258,11 @@ fi
%changelog
* Wed Jul 01 2009 Harshavardhana <harsha@gluster.com> - 2.1
- Removed mod_glusterfs.so and added new --without epoll build
- option.
+ option.
* Thu Apr 16 2009 Harshavardhana <harsha@gluster.com> - 2.0
- Galore of updates including new packages added common,
- client,server splitting the original package. rpmbuild
- fully restructured to adhere to Fedora rpm standards.
- Older changelog removed as there were warnings when
- tried with 'rpmlint'.
+ client,server splitting the original package. rpmbuild
+ fully restructured to adhere to Fedora rpm standards.
+ Older changelog removed as there were warnings when
+ tried with 'rpmlint'.