diff options
author | Niels de Vos <ndevos@redhat.com> | 2013-10-09 11:13:11 +0200 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2013-10-09 20:25:11 -0700 |
commit | c436b89a7111bbaaed9f034799986ea7c760ce55 (patch) | |
tree | 1f3688d4df2ff79c69e6ce71e0143010e145dc14 | |
parent | cecc5b8fc05f071e9556c84153634b6d50c77dbb (diff) |
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 <eblake@redhat.com>
Signed-off-by: Niels de Vos <ndevos@redhat.com>
Reviewed-on: http://review.gluster.org/6056
Reviewed-by: Bala FA <barumuga@redhat.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Anand Avati <avati@redhat.com>
-rw-r--r-- | glusterfs.spec.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/glusterfs.spec.in b/glusterfs.spec.in index c59a159bdc6..46240247c2d 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 <ndevos@redhat.com> +- glusterfs-api-devel requires glusterfs-devel (#1016938, #1017094) + * Thu Sep 30 2013 Niels de Vos <ndevos@redhat.com> - Package gfapi.py into the Python site-packages path (#1005146) |