[Rpm-ecosystem] hawkey be more informative on failure to solve a goal?
Michael Mraka
michael.mraka at redhat.com
Wed May 20 12:52:42 UTC 2015
Anne Mulhern wrote:
% That is definitely like what I want (although I feel like I would prefer something more structured
% than a list of strings that have to be parsed by a client application).
%
% But I was playing around with it and I noticed another thing that puzzled me.
%
% A Package has attributes requires, provides, recommends, suggests, supplements, enhances, conflicts
% but the contents of the requires attribute clearly correspond to what is listed
% as BuildRequires, not what is listed as Requires (for my spec file).
% Can you tell me what is going on there?
Sure, you are querying source rpm, not built (binary) one. And Requires
of source rpm are the BuildRequires from spec.
% Thanks!
%
% - mulhern
%
% P.S. My python interactions look something like this:
%
% >>> pkg = q[0]
% >>> g.install(pkg)
% >>> g.run()
% False
% >>> g.problems
% ['nothing provides gettext needed by python-blivet-1:1.0.0.0-1.el6.src']
Here you can see it is source rpm ^^^^^^^^^
Regards,
--
Michael Mráka
Software Management Engineering, Red Hat
More information about the Rpm-ecosystem
mailing list