Hello list,
I've found a bug in a .spec file. Please have a look
http://dag.wieers.com/rpm/packages/j2re/j2re.spec and the following
line:
> Obsoletes: java-plugin < %{version}, j2re-java-plugin = < %{version}
> ^^^
I'm assuming the line should be more like this:
> Obsoletes: java-plugin < %{version}, j2re-java-plugin < %{version}
Using the first line produces a "funny" RPM:
% rpm -q --obsoletes -p mozilla-j2re-1.4.2-11.2.el4.rf.i586.rpm
java-plugin < 1.4.2
j2re-java-plugin = <
1.4.2
And this will lead to a "funny" but invalid "primary.xml" file (see the
next lines):
> <rpm:obsoletes>
> <rpm:entry name="java-plugin" flags="LT" epoch="0" ver="1.4.2"/>
> <rpm:entry name="j2re-java-plugin" flags="EQ" epoch="0" ver="<"/>
> <rpm:entry name="1.4.2"/>
> </rpm:obsoletes>
And that results into the following error message of my yum (using for
my mock enviroment):
> GLib-WARNING **: GError set over the top of a previous GError or
uninitialized memory.
> This indicates a bug in someone's code. You must ensure an error is
NULL before it's set.
> The overwriting error message was: Parsing primary.xml error:
Entity 'lt' not defined
Please rebuild the package with the given second version of
the "Obsoletes:" line. (I don't think you need a patch for this. B-)
Thanks.
--
So long... Erik
_______________________________________________
users mailing list
[email protected]
http://lists.rpmforge.net/mailman/listinfo/users