If you don't want to link to librpm, then other option is to use rpm cli. 
Everything about the packages is accessible with rpm cli queries. 

I don't understand your use-case, but if you absolutely need the package 
information on file-system then create that info using rpm queries, as a part 
of the container image create process or otherwise. We even ship with a cron 
script to do this daily (see script/rpm.daily in the source) that you can use 
as a basis if it doesn't do what you need.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/discussions/2211#discussioncomment-7484095
You are receiving this because you are subscribed to this thread.

Message ID: 
<rpm-software-management/rpm/repo-discussions/2211/comments/7484...@github.com>
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to