yum matching (was: Re: mock Missing Dependencies)

Richi Plana myfedora at richip.dhs.org
Thu Nov 22 04:38:14 UTC 2007


On Wed, 2007-11-21 at 21:49 -0500, Ignacio Vazquez-Abrams wrote:
> On Wed, 2007-11-21 at 18:19 -0700, Richi Plana wrote:
> > Now, I'm not sure if yum uses wildcard globbing or regular expressions.
> > >From the above, it seems to be a combination of both. If it's pure
> > regexp, shouldn't it be something more like:
> 
> Actually, I messed up. It should use globs, therefore [!...] is correct,
> not [^...].

Oddly enough, with stock mock configuration, the following didn't work:

exclude=[ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefhijklmnopqrstuvwxyz]*.i*86
g[abcdefghijkmnopqrstuvwxyz]*.i?86 glib2.i?86 glib.i?86

I've since applied my own and I've been able to mock build properly now:

exclude=[!g]*.i?86 g[!l]*.i?86 gl[!i]*.i?86 gli[!b]*.i?86 glib[!c]*.i?86
glib.i?86

Should I file a bug against mock? Or am I the only one who the stock cfg
doesn't work for?
--

Richi Plana




More information about the fedora-devel-list mailing list