Mock - Anyway to override Obsoletes tag?
Rex Dieter
rdieter at math.unl.edu
Fri Nov 3 15:39:39 UTC 2006
Andrew Rechenberg wrote:
> Good morning,
>
> I'm trying to use mock to build some Asterisk RPMs and mock is evidently
> using an Obsoletes tag in opal(-devel) to override a BuildRequires I
> have in my spec for openh323(-devel).
>
> I've built openh323(-devel) for FC6 and I've created a local repo and
> placed that local repo in the mock config for fedora-6-i386-core.cfg.
> The mock yum finds my openh323 RPMs (I can see if find it in the
> root.log) but I guess since opal contains an Obsoletes: openh323 tag
> mock is installing opal instead of my openh323 RPM.
Unversioned Obsoletes are bad, mm'kay? imo, file a bug against opal.
In the meantime, maybe adding to your mock config something like:
[main]
...
exclude=opal*
will do the trick.
-- Rex
More information about the buildsys
mailing list