dolfantimmy <dolfantimmy RemoveThis @yahoo.com> wrote:
> I have an unusual situation. I have a package that was installed some
> time ago and the rpm is no longer available. I need to test some
> processes on a dev box. How can I go about rebuilding the rpm file
> from the rpm database?
You cannot rebuild _that_ rpm from an information which is in
database. What you can get is a listing of all installed
files for it by doing 'rpm -ql package'. Then you can retrieve
all files and repackage them into some rpm. See, for example,
how various "nosource" packages are done on
http://www.jpackage.org/
You can retrieve from there some sample specs.
Michal