Rebase-helper is a tool which helps package maintainers with updating package to the latest upstream version. It automates a lot of manual tasks the package maintainer usually does, when a new upstream version of a package is released.
It requires several other programs like abipkgdiff, rpmdiff, mock, fedpkg, meld, etc. These programs are installed automatically as dependencies of rebase-helper.
Note: rebase-helper is also available as EPEL-7 package. Feel free to use it on CentOS and RHEL systems.
Downloads an archive with new sources.
Rebases downstream patches on top of the latest upstream version using git rebase command.
If patching was successful, it builds two sets of RPMs. One using the old sources and a second one using the new sources. Available build tools are mock, rpmbuild, fedpkg.
If the build is successful, downloads all available RPM packages.
If all builds succeed, rebase-helper runs several checkers, like pkgdiff, rpmdiff, abipkgdiff. Rebase-helper compares old and new packages and reports results.
How to rebase your packages?
# Change to the location of foobar.spec and other package components (cloned dist-git dir), e.g.
After rebase-helper finishes, check the output.