summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnand Avati <avati@redhat.com>2013-04-24 00:51:12 -0700
committerVijay Bellur <vbellur@redhat.com>2013-05-25 11:39:41 -0700
commitc04a0ca7cf3a9775e21d51f9bdaa113b0f19f051 (patch)
treeb5814f194823fcc2a0a1216975dca53cc358162c
parented11e88b77fe45acd1181728435bb644607a2b22 (diff)
pkg-config: present API version and not package version
This way PKG_MODULE() autoconf test checks for required API rather than release version (e.g required API could be in all all of 3.4.5, 3.5.1, 3.6.4 etc.) With the first "release" of gfapi, the current version (4) will be frozen. Version 3 is sufficient for QEMU's requirement. Version 4 is necessary for Samba VFS Change-Id: Iada3a4c88b9c67413dcd57004fd8a62926a21b42 BUG: 953694 Signed-off-by: Anand Avati <avati@redhat.com> Reviewed-on: http://review.gluster.org/4932 Reviewed-by: Vijay Bellur <vbellur@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com>
-rw-r--r--glusterfs-api.pc.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/glusterfs-api.pc.in b/glusterfs-api.pc.in
index be46bb3d9d9..dfdb8ae68e0 100644
--- a/glusterfs-api.pc.in
+++ b/glusterfs-api.pc.in
@@ -6,6 +6,7 @@ includedir=@includedir@
Name: glusterfs-api
Description: GlusterFS API
-Version: @VERSION@
+/* This is the API version, NOT package version */
+Version: 4
Libs: -Wl,-R${libdir} -L${libdir} -lgfapi -lglusterfs -lgfrpc -lgfxdr
Cflags: -I${includedir}/glusterfs -D_FILE_OFFSET_BITS=64 -D__USE_FILE_OFFSET64