Re: [PATCH] spec: Add missed dependancy for numad

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 03/23/2012 09:39 AM, Osier Yang wrote:
> numad is available since Fedora 17 and RHEL6.X. And it's not supported
> on s390[x] and ARM.
> ---
>  configure.ac            |   26 +++++++++++++++++++++-----
>  libvirt.spec.in         |   19 ++++++++++++++++++-
>  src/qemu/qemu_process.c |    2 +-
>  3 files changed, 40 insertions(+), 7 deletions(-)
> 
> diff --git a/configure.ac b/configure.ac

>  AC_MSG_NOTICE([       DTrace: $with_dtrace])
> +AC_MSG_NOTICE([       numad:  $with_numad])
>  AC_MSG_NOTICE([  XML Catalog: $XML_CATALOG_FILE])

Spacing is off: s/numad: / numad:/


> @@ -357,6 +366,9 @@ Requires(post): systemd-sysv
>  Requires(preun): systemd-units
>  Requires(postun): systemd-units
>  %endif
> +%if %{with_numad}
> +Requires: numad
> +%endif

Missing a counterpart BuildRequires lower down in order to ensure that
the absolute path to numad is found at configure time.

ACK with those fixes.

-- 
Eric Blake   eblake@xxxxxxxxxx    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]