Are wildcards permitted in Requires: lines in spec files?

Richard W.M. Jones rjones at redhat.com
Fri May 16 11:54:05 UTC 2014


On Fri, May 16, 2014 at 12:09:33PM +0100, Andrew Price wrote:
> On 16/05/14 11:28, Richard W.M. Jones wrote:
> >
> >Are they permitted, and do they work?
> >
> >Specifically I need to install all the Xorg drivers (since I don't
> >know what hardware will be installed on the target machine), thus:
> >
> >   Requires:      xorg-x11-drv-*
> 
> I'm not sure if they work but I think a wildcard would be too broad
> in most cases anyway (could pull in -debuginfo packages, etc. too)
> but this should help in your case:
> 
> https://admin.fedoraproject.org/pkgdb/package/xorg-x11-drivers/

Ah right, a much better idea, thanks.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-builder quickly builds VMs from scratch
http://libguestfs.org/virt-builder.1.html


More information about the devel mailing list