On Mon, 14 Jan 2002, seth vidal wrote: > > > > > With the way the code is currently, you just cann't do that. > > Theoretically its possible to modify the module so that this can be done > > (or at least a function could be created to do it), but I've not done > > much with the C library for rpm, so I'm not sure how hard it would be to > > change that information in rpm's internal structures. > > so even if I've taken the information in the header out to a separate > file there is no way to write that information into a new file? > > or hell, even change it in memory? I'm not sure how it looks in the file, so it might be able to modify the temporary file.. but I doubt it. There is actually a function to do it in the C library, its just that no one ever created an interface to that function from the python bindings. > > is there a good reason why this isn't an option? Um.. because its hard and wasn't needed for the initial purposes for this module? I know its not a 'good' answer, but I imagine its the real one.
Attachment:
pgp00014.pgp
Description: PGP signature