Are wildcards permitted in Requires: lines in spec files?

Michael Schwendt mschwendt at gmail.com
Fri May 16 17:13:30 UTC 2014


On Fri, 16 May 2014 18:51:47 +0200, Michael Schwendt wrote:

> On Fri, 16 May 2014 11:28:20 +0100, 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-*
> 
> That doesn't work. Tools like "rpm", "yum" don't try to expand the '*',
> and even if they did, the result would be different (e.g. "rpm" doesn't
> look at repository metadata).

"yum localinstall …" on x86_64 gives weird reults:


  --> Processing Dependency: xorg-x11-drv-* for package: test-1.0-1.x86_64
  …
  ---> Package xorg-x11-drv-openchrome.i686 0:0.3.3-2.fc20 will be installed
  …
  [plus its i686 deps]


That's just one driver package, which the resolver chose out of several.
There are more for i686, which are not installed. And there are even more
x86_64 packages, which are not installed either.

  yum install xorg-x11-drv-*
  …
  Install  28 Packages (+15 Dependent packages)


More information about the devel mailing list