[libvirt] [PATCH 3/3] spec: fix sanlock dependency

Eric Blake eblake at redhat.com
Wed Dec 14 17:35:26 UTC 2011


On 12/13/2011 06:52 PM, Wen Congyang wrote:
> At 12/06/2011 01:38 AM, Eric Blake Write:
>> * libvirt.spec.in (with_sanlock): On RHEL, don't force sanlock
>> on architectures where it isn't available.
>> ---
>>  libvirt.spec.in |   10 ++++++++--
>>  1 files changed, 8 insertions(+), 2 deletions(-)
>>

>> ++# Sanlock is available only on i686 x86_64 for RHEL
> 
> According this comment, force sanlock  only on i686 x86_64 for RHEL
> 
>> +%if 0%{?fedora} >= 16
>> +%define with_sanlock 0%{!?_without_sanlock:%{server_drivers}}
>> +%endif
>> +%if 0%{?rhel} >= 6
>> +%ifnarch i386 i586 i686 x86_64
> 
> But here you force it only not on i686 x86_64 for RHEL.
> 
> s/ifnarch/ifarch/ ?

Yes, thanks for spotting that.  I've pushed the trivial patch in your name.

-- 
Eric Blake   eblake at redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20111214/68279879/attachment-0001.sig>


More information about the libvir-list mailing list