On 02/20/2013 06:18 AM, Richard W.M. Jones wrote:
> 
> Firstly the %if condition here doesn't work for me.  For some reason
> it still wants me to install perl-podlators (which doesn't exist on
> Fedora 18):
> 
>   %if 0%{?fedora} > 18
>   BuildRequires: perl-podlators
>   %endif
> 
> I don't understand why it doesn't work, since on the same machine:
> 
>   $ rpm --eval '%{?fedora}'
>   18
> 
> Is "018" treated as an impossible octal number?  My suggestion is to
> just BR the programs directly.  The upstream code seems to need
> pod2man, so:
> 
>   BuildRequires: /usr/bin/pod2man
> 

A provenpackager made that change at some point.

Are you building with 'fedpkg local'? if so, that sets the fedora macro to
equal the git branch version, not your host fedora version.

> Secondly, /usr/bin/qemu-kvm is now a script:
> 
>   $ cat /usr/bin/qemu-kvm 
>   #!/bin/sh
>   
>   exec /usr/bin/qemu-system-x86 -machine accel=kvm "$@"
> 
> The problem is that /usr/bin/qemu-system-x86 doesn't appear to exist.
> Did you mean /usr/bin/qemu-system-x86_84, or is there a missing
> runtime Requires in the package?
> 

Ugh, that was my bad. I tested one thing and then committed another.
qemu-system-x86_64 is the intended binary.

The package still isn't built for rawhide though, koji was failing for me last
night. Seems like the docs aren't being built, but pod2man _is_ detected.
Might be related to texinfo or something, gonna try again now.

- Cole
_______________________________________________
virt mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/virt

Reply via email to