[glusterfs] glusterfs-api.pc: include pkgconfig file in -devel RPM

Niels de Vos devos at fedoraproject.org
Tue May 28 09:30:55 UTC 2013


commit 4a3a71c13cebff2ed365a7bfe668525c774ff8b0
Author: Niels de Vos <devos at fedoraproject.org>
Date:   Tue May 28 11:26:52 2013 +0200

    glusterfs-api.pc: include pkgconfig file in -devel RPM
    
    From: http://review.gluster.com/3665 & http://review.gluster.com/3693
    
    Other projects (like Samba) use pkg-config to discover support for
    GlusterFS and gather the CFLAGS and LDFLAGS for compiling against
    libgfapi.so.
    
    Not building new packages now, only making sure it is included in the
    next run.

 glusterfs.spec |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/glusterfs.spec b/glusterfs.spec
index c008ab0..725fb32 100644
--- a/glusterfs.spec
+++ b/glusterfs.spec
@@ -1010,6 +1010,7 @@ fi
 %files devel
 %defattr(-,root,root,-)
 %{_includedir}/glusterfs
+%{_libdir}/pkgconfig/glusterfs-api.pc
 %exclude %{_includedir}/glusterfs/y.tab.h
 %exclude %{_includedir}/glusterfs/api
 %exclude %{_libdir}/libgfapi.so
@@ -1420,6 +1421,9 @@ fi
 %endif
 
 %changelog
+* Mon May 27 2013 Niels de Vos <ndevos at fedoraproject.org>
+- include glusterfs-api.pc in the -devel subpackage
+
 * Fri May 24 2013 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 3.4.0-0.5.beta2
 - prerelease 3.4.0beta2 for oVirt/vdsm dependencies in Fedora19
 


More information about the scm-commits mailing list