repackage

repackage is a shell script that extracts the contents of a binary RPM and repackages it as a new source and binary RPM. The source RPM will contain a cpio archive extracted from the input RPM and a spec file capable of recreating the new binary RPM. The new binary RPM should be equivalent to the original binary RPM.

Purpose

Many existing RPM:s use an older package format that isn't fully compatible with the latest version of the RPM program. (See for example RH BZ #127113.) Primarily, it's not possible to add a GPG signature to such RPM:s. This problem can be worked around by repackaging the RPM.

License

2-term BSD license.

Download