RPMREBUILD features
abstract
rpmrebuild is a tool to build an RPM file from a RPM package.
notes :
- On old rpm releases, rpm provided a '--repackage' option, but it is no more available.
- On debian/ubuntu, the equivalent software is dpkg-repack.
- For use cases examples, you can look at usage
basic feature
- it should work on any linux distribution using rpm, because it has very little dependencies (bash, awk).
- basic rpmrebuild use do not require any rpm building knowledge, just type rpmrebuild package_name to rebuild an installed package
advanced feature
You need to have some rpm spec knowledge.
You can build an rpm file from :
- an installed rpm package
- an rpm file, with the -p option
Rpmrebuild works in two stages :
- first it builds a spec file
- then it uses rpmbuild to generate the rpm file
The main interest is to modify the generated spec file, to build a different rpm package.
interactive
You can edit and modify "on the fly" the specfile with the command :
rpmrebuild -e package_name
batch
Plugins allow to make batch changes on specfiles.
Eric Gerbier
page changed on 2019-10-18