On Wed, Mar 27, 2002 at 04:06:05PM +0100, Praise wrote:
Hi all!
There is a way to rebuild a file program.rpm from its istalled files?
There is no rpm function to do that. RPMs are built according to the instructions in a .spec file. The spec file contains a list of the "pristine" sources from the developer along with any patch files to apply to the source. Once the spec file is prepared, rpm can build a source or binary package. You can find out which files were installed with a packages by doing: rpm -ql <package-name> But to really build the identical package (which also includes install and uninstall scripts), you need to start with the source rpm (often .spm files in SuSE). Best Regards, Keith -- LPIC-2, MSCE, N+ you may say I'm a dreamer, but I'm not the only one Got spam? Get SPASTIC http://spastic.sourceforge.net