X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=libguestfs.spec.in;h=c9cd4b401420974d0ea1ba15a3023d7442459f89;hb=4dffb3bbb5346410fe8b958add4a956b915d48a9;hp=684f272c6908aed9c7d6e0c3abd5ab84b88a3475;hpb=89404ec0ba9781b55cb3a87689bcc519e7d73ea2;p=libguestfs.git diff --git a/libguestfs.spec.in b/libguestfs.spec.in index 684f272..c9cd4b4 100644 --- a/libguestfs.spec.in +++ b/libguestfs.spec.in @@ -26,6 +26,10 @@ BuildRequires: readline-devel BuildRequires: qemu >= 0.10-7 BuildRequires: createrepo +# This is only needed for RHEL 5 because readline-devel doesn't +# properly depend on it, but doesn't do any harm on other platforms: +BuildRequires: ncurses-devel + # Build requirements for the appliance: # (see 'make-initramfs.sh.in' in the source) BuildRequires: kernel, bash, coreutils, lvm2, ntfs-3g, util-linux-ng @@ -234,6 +238,8 @@ Requires: jpackage-utils %prep %setup -q +mkdir -p daemon/m4 + %build %if %{buildnonet} @@ -247,11 +253,16 @@ createrepo repo ./configure \ --prefix=%{_prefix} --libdir=%{_libdir} \ + --mandir=%{_mandir} \ --with-java-home=%{java_home} \ --with-qemu="qemu-kvm qemu-system-%{_build_arch} qemu" \ --enable-debug-command \ %{extra} +# This ensures that /usr/sbin/chroot is on the path. Not needed +# except for RHEL 5, it shouldn't do any harm on other platforms. +export PATH=/usr/sbin:$PATH + # 'INSTALLDIRS' ensures that perl libs are installed in the vendor dir # not the site dir. make INSTALLDIRS=vendor %{?_smp_mflags}