summaryrefslogtreecommitdiffstats
path: root/glusterfs.spec.in
diff options
context:
space:
mode:
authorNiels de Vos <ndevos@redhat.com>2016-01-08 16:43:15 +0100
committerNiels de Vos <ndevos@redhat.com>2016-01-24 03:23:27 -0800
commite72a77a9eb86b51f0985db6091bedc8606e0a5eb (patch)
treed2916b8de5216baea8380650efe63f37e84e3f21 /glusterfs.spec.in
parent90366748a44c853dbba02d6d2a8192643b711017 (diff)
rpm: glusterfs-server requires -api
The glusterfs-server package requires libgfapi.so for the glfs-heal binary and possibly other parts. Also adding %{?_isa} to requirements as described in the Fedora Packaging Guidelines for Explicit Requires at https://fedoraproject.org/wiki/Packaging:Guidelines#Explicit_Requires This is a backport of: > BUG: 1296992 > Change-Id: I96c62876b776d04a7f5d1b1dc34c02302b6ffbe6 > Reviewed-on: http://review.gluster.org/13200 > Signed-off-by: Niels de Vos <ndevos@redhat.com> BUG: 1296996 Change-Id: I96c62876b776d04a7f5d1b1dc34c02302b6ffbe6 Signed-off-by: Niels de Vos <ndevos@redhat.com> Reviewed-on: http://review.gluster.org/13202 Smoke: Gluster Build System <jenkins@build.gluster.com> CentOS-regression: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
Diffstat (limited to 'glusterfs.spec.in')
-rw-r--r--glusterfs.spec.in60
1 files changed, 34 insertions, 26 deletions
diff --git a/glusterfs.spec.in b/glusterfs.spec.in
index 69195784185..99dd48c5d4e 100644
--- a/glusterfs.spec.in
+++ b/glusterfs.spec.in
@@ -196,7 +196,7 @@ BuildRequires: python-simplejson
BuildRequires: systemd-units
%endif
-Requires: %{name}-libs = %{version}-%{release}
+Requires: %{name}-libs%{?_isa} = %{version}-%{release}
BuildRequires: bison flex
BuildRequires: gcc make automake libtool
BuildRequires: ncurses-devel readline-devel
@@ -256,8 +256,8 @@ and client framework.
%package api
Summary: GlusterFS api library
Group: System Environment/Daemons
-Requires: %{name} = %{version}-%{release}
-Requires: %{name}-client-xlators = %{version}-%{release}
+Requires: %{name}%{?_isa} = %{version}-%{release}
+Requires: %{name}-client-xlators%{?_isa} = %{version}-%{release}
# we provide the Python package/namespace 'gluster'
#Provides: python-gluster = %{version}-%{release}
@@ -275,8 +275,8 @@ This package provides the glusterfs libgfapi library.
%package api-devel
Summary: Development Libraries
Group: Development/Libraries
-Requires: %{name} = %{version}-%{release}
-Requires: %{name}-devel = %{version}-%{release}
+Requires: %{name}%{?_isa} = %{version}-%{release}
+Requires: %{name}-devel%{?_isa} = %{version}-%{release}
Requires: libacl-devel
%description api-devel
@@ -293,7 +293,7 @@ This package provides the api include files.
%package cli
Summary: GlusterFS CLI
Group: Applications/File
-Requires: %{name}-libs = %{version}-%{release}
+Requires: %{name}-libs%{?_isa} = %{version}-%{release}
%description cli
GlusterFS is a distributed file-system capable of scaling to several
@@ -309,9 +309,9 @@ This package provides the GlusterFS CLI application and its man page
%package devel
Summary: Development Libraries
Group: Development/Libraries
-Requires: %{name} = %{version}-%{release}
+Requires: %{name}%{?_isa} = %{version}-%{release}
# Needed for the Glupy examples to work
-Requires: %{name}-extra-xlators = %{version}-%{release}
+Requires: %{name}-extra-xlators%{?_isa} = %{version}-%{release}
%description devel
GlusterFS is a distributed file-system capable of scaling to several
@@ -350,8 +350,8 @@ Group: Applications/File
BuildRequires: fuse-devel
Requires: attr
-Requires: %{name} = %{version}-%{release}
-Requires: %{name}-client-xlators = %{version}-%{release}
+Requires: %{name}%{?_isa} = %{version}-%{release}
+Requires: %{name}-client-xlators%{?_isa} = %{version}-%{release}
Obsoletes: %{name}-client < %{version}-%{release}
Provides: %{name}-client = %{version}-%{release}
@@ -372,7 +372,7 @@ glusterfs(d) binary.
Summary: NFS-Ganesha configuration
Group: Applications/File
-Requires: %{name}-server = %{version}-%{release}
+Requires: %{name}-server%{?_isa} = %{version}-%{release}
Requires: nfs-ganesha-gluster
Requires: pcs, /usr/bin/dbus-send
@@ -392,8 +392,8 @@ NFS-Ganesha as the NFS server using GlusterFS
%package geo-replication
Summary: GlusterFS Geo-replication
Group: Applications/File
-Requires: %{name} = %{version}-%{release}
-Requires: %{name}-server = %{version}-%{release}
+Requires: %{name}%{?_isa} = %{version}-%{release}
+Requires: %{name}-server%{?_isa} = %{version}-%{release}
Requires: python python-ctypes
Requires: rsync
@@ -460,7 +460,7 @@ Summary: GlusterFS rdma support for ib-verbs
Group: Applications/File
BuildRequires: libibverbs-devel
BuildRequires: librdmacm-devel >= 1.0.15
-Requires: %{name} = %{version}-%{release}
+Requires: %{name}%{?_isa} = %{version}-%{release}
%description rdma
GlusterFS is a distributed file-system capable of scaling to several
@@ -477,9 +477,9 @@ This package provides support to ib-verbs library.
%package regression-tests
Summary: Development Tools
Group: Development/Tools
-Requires: %{name} = %{version}-%{release}
-Requires: %{name}-fuse = %{version}-%{release}
-Requires: %{name}-server = %{version}-%{release}
+Requires: %{name}%{?_isa} = %{version}-%{release}
+Requires: %{name}-fuse%{?_isa} = %{version}-%{release}
+Requires: %{name}-server%{?_isa} = %{version}-%{release}
## thin provisioning support
Requires: lvm2 >= 2.02.89
Requires: perl(App::Prove) perl(Test::Harness) gcc util-linux-ng
@@ -505,7 +505,7 @@ Group: System Environment/Base
Group: Productivity/Clustering/HA
%endif
# for glusterd
-Requires: %{name}-server
+Requires: %{name}-server%{?_isa} = %{version}-%{release}
# depending on the distribution, we need pacemaker or resource-agents
Requires: %{_prefix}/lib/ocf/resource.d
@@ -526,13 +526,14 @@ like Pacemaker.
%package server
Summary: Clustered file-system server
Group: System Environment/Daemons
-Requires: %{name} = %{version}-%{release}
-Requires: %{name}-libs = %{version}-%{release}
-Requires: %{name}-cli = %{version}-%{release}
+Requires: %{name}%{?_isa} = %{version}-%{release}
+Requires: %{name}-cli%{?_isa} = %{version}-%{release}
+Requires: %{name}-libs%{?_isa} = %{version}-%{release}
# some daemons (like quota) use a fuse-mount, glusterfsd is part of -fuse
-Requires: %{name}-fuse = %{version}-%{release}
+Requires: %{name}-fuse%{?_isa} = %{version}-%{release}
# self-heal daemon, rebalance, nfs-server etc. are actually clients
-Requires: %{name}-client-xlators = %{version}-%{release}
+Requires: %{name}-api%{?_isa} = %{version}-%{release}
+Requires: %{name}-client-xlators%{?_isa} = %{version}-%{release}
# psmisc for killall, lvm2 for snapshot, and nfs-utils and
# rpcbind/portmap for gnfs server
Requires: psmisc
@@ -1268,9 +1269,16 @@ fi
%changelog
+* Sun Jan 17 2016 Niels de Vos <ndevos@redhat.com>
+- glusterfs-server depends on -api (#1296931)
+
* Mon Dec 28 2015 Niels de Vos <ndevos@redhat.com>
- hook scripts in glusterfs-ganesha use dbus-send, add dependency (#1294446)
+* Tue Dec 22 2015 Niels de Vos <ndevos@redhat.com>
+- move hook scripts for nfs-ganesha to the -ganesha sub-package
+- use standard 'make' installation for the hook scripts (#1174765)
+
* Tue Sep 15 2015 Anand Nekkunti <anekkunt@redhat.com>
- adding glusterfs-firewalld service (#1057295)
@@ -1319,9 +1327,6 @@ fi
* Sat Mar 28 2015 Mohammed Rafi KC <rkavunga@redhat.com>
- Add dependency for librdmacm version >= 1.0.15 (#1206744)
-* Thu Mar 26 2015 Kaleb S. KEITHLEY <kkeithle@redhat.com>
-- attr dependency (#1174627)
-
* Tue Mar 24 2015 Niels de Vos <ndevos@redhat.com>
- move libgfdb (with sqlite dependency) to -server subpackage (#1194753)
@@ -1410,6 +1415,9 @@ fi
* Wed Apr 02 2014 Arumugam Balamurugan <barumuga@redhat.com>
- add version/release dynamically (#1074919)
+* Thu Mar 26 2014 Kaleb S. KEITHLEY <kkeithle@redhat.com>
+- attr dependency (#1184626)
+
* Wed Mar 26 2014 Poornima G <pgurusid@redhat.com>
- Include the hook scripts of add-brick, volume start, stop and set