From c436b89a7111bbaaed9f034799986ea7c760ce55 Mon Sep 17 00:00:00 2001 From: Niels de Vos Date: Wed, 9 Oct 2013 11:13:11 +0200 Subject: rpm: glusterfs-api-devel requires glusterfs-devel When installing the glusterfs-api-devel package in order to build software that uses libgfapi, there are unmet dependencies. Installing glusterfs-devel additionally solved these link errors: $ echo 'int main(){}' > bar.c $ gcc -o bar bar.c $(pkg-config --libs glusterfs-api) /usr/bin/ld: cannot find -lglusterfs /usr/bin/ld: cannot find -lgfrpc /usr/bin/ld: cannot find -lgfxdr collect2: error: ld returned 1 exit status Change-Id: I12e922aa6609809c03ec2c9a0d8a47c5df91d0a1 BUG: 1017094 Reported-by: Eric Blake Signed-off-by: Niels de Vos Reviewed-on: http://review.gluster.org/6056 Reviewed-by: Bala FA Tested-by: Gluster Build System Reviewed-by: Anand Avati --- glusterfs.spec.in | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'glusterfs.spec.in') diff --git a/glusterfs.spec.in b/glusterfs.spec.in index c59a159bd..46240247c 100644 --- a/glusterfs.spec.in +++ b/glusterfs.spec.in @@ -388,6 +388,7 @@ This package provides the development libraries and include files. Summary: Development Libraries Group: Development/Libraries Requires: %{name} = %{version}-%{release} +Requires: %{name}-devel = %{version}-%{release} %description api-devel GlusterFS is a clustered file-system capable of scaling to several @@ -877,6 +878,9 @@ if [ $1 -ge 1 ]; then fi %changelog +* Wed Oct 9 2013 Niels de Vos +- glusterfs-api-devel requires glusterfs-devel (#1016938, #1017094) + * Thu Sep 30 2013 Niels de Vos - Package gfapi.py into the Python site-packages path (#1005146) -- cgit