[libvirt] [PATCH 1/n] spec: fix rpm build when lxc disabled

Eric Blake eblake at redhat.com
Wed Sep 4 17:30:27 UTC 2013


On 09/04/2013 06:38 AM, Michal Privoznik wrote:
> On 03.09.2013 23:27, Eric Blake wrote:
>> 'make rpm' failed if ~/.rpmmacros contains '%_without_lxc 1',
>> which simulates the case of not having lxc available.
>>
>> RPM build errors:
>>     File not found: /home/eblake/rpmbuild/BUILDROOT/libvirt-1.1.1-1.fc19.x86_64/etc/libvirt/virt-login-shell.conf
>>     File not found by glob: /home/eblake/rpmbuild/BUILDROOT/libvirt-1.1.1-1.fc19.x86_64/usr/share/man/man1/virt-login-shell.1*
>>     File not found: /home/eblake/rpmbuild/BUILDROOT/libvirt-1.1.1-1.fc19.x86_64/usr/bin/virt-login-shell
>> make: *** [rpm] Error 1
>>
>> Reported by Dan Berrange.
>>
>> * libvirt.spec.in: Mark virt-login-shell as conditional on lxc.
>>

> 
> ACK

Thanks; pushed.

-- 
Eric Blake   eblake 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: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130904/552ea467/attachment-0001.sig>


More information about the libvir-list mailing list