You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The easiest bindings are rpmInstall() and rpmErase() in lib/rpminstall.c, copying rust args into the needed structure. There are also similar interfaces for query/verify/sign available. All the tables for popt option processing are available for needed flags if you also bind libpopt.
If you want a lower level interface, use rpmReadPackageFile() which verifies package signatures.
I would avoid doing similar to Python interfaces which were mis-designed to accomodate "I don't want to verify signatures! I don't want to use a transaction!" politics from a long time ago.
This issue tracks the ability to read RPM package files. Presently no support is available.
Some reference information on the API is available here, courtesy the Fedora RPM Guide:
The text was updated successfully, but these errors were encountered: