The ticket system is not a help forum. Please ask questions like this on 
#rpm.org @freenode or on the mailing lists. See http://rpm.org/community.html 
for details.
To the question at hand: There is an rpm.archive class. An instances can be 
obtained from an rpm.files object with the .archive() method. Some 
documentation on these classes can be found with `pydoc rpm`.
But to my knowledge this code has rarely been used - if ever. So there may be 
dragons... (like hard links - or worse)

Unless you have good reason consider using rpm2archive or rpm2cpio.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/1310#issuecomment-656714319
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to