Re: rpm-python list
Paul Nasrat <pauln-xGvoirzvwgBWk0Htik3J/[email protected]> Thu, 2 Oct 2003 14:22:53 +0100
| Newsgroups | gmane.linux.redhat.rpm.python |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Oct 02, 2003 at 01:31:02AM -0400, seth vidal wrote:
> Hi all,
> so I made this list - adrian suggested it and it seemed like a
> reasonable thing to do after talking to various folks at red hat.
Thanks for setting up the list. I usually have only had to hit
rpm-python for fun or in anger, certainly not had the experience of most
people on list. Some initial ramblings:
1) Following does not work for me:(
rpm.addMacro("_topdir","/home/pauln/rpm")
... (set up ts)
fd = os.open("foo.src.rpm",os.O_RDONLY)
... (read hdr, addInstall, run)
2) Specfile queries - which are a hack, it'd be nice to be able to use
them from python (or I haven't been trying hard enough). Although if
src.rpms are going away (or surplus to requirements) an equivalent of
rpm --requires -q foo.src.rpm would be nice from a specfile
3) A common library for some things would be nice, not re-inventing the
wheel
Paul