diff options
author | Niels de Vos <ndevos@redhat.com> | 2013-09-11 13:44:10 +0200 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2013-09-12 13:45:40 -0700 |
commit | 0b608508743baa63220a92361f443af8557a2b9b (patch) | |
tree | d9ae05242c7e29609bd7daa8bfe3f571cc1380ed /libglusterfs/src/compat.h | |
parent | df12400012af69f99dab62774244792b57c5178f (diff) |
qemu-block: fix building from distribution tarball when glib2-devel is installed
Building RPMs from a 'make dist' tarball fails when qemu-block is
enabled. Enabling is done automatically when the glib2 development files
are available (enabled by ./configure).
Manual building with:
$ ./autogen.sh && ./configure && make dist && rpmbuild -ta *.tar.gz
Building in mock works fine, glib2-devel is not installed by default so
the qemu-block xlator gets disabled. This change also adds glib2-devel
to the BuildRequires in the glusterfs.spec file, causing the qemu-block
xlator to be built by default, and included in the glusterfs RPM.
Change-Id: Ibb73628772586d9e07bbfde7a8ff2fc973489086
BUG: 986775
Signed-off-by: Niels de Vos <ndevos@redhat.com>
Reviewed-on: http://review.gluster.org/5896
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'libglusterfs/src/compat.h')
0 files changed, 0 insertions, 0 deletions