BSD-3-Clause licensed by Henning Thielemann
Maintained by Jens Petersen
This version can be pinned in stack with:rpmbuild-order-0.2.1@sha256:df88e81c0cc8f36d65a2b0e1b86b75d9ad69abc4f0b38a0c54d6754732438949,1766

Module documentation for 0.2.1

There are no documented modules for this package.

Build Status Hackage license


This package based on code from cabal-sort, sorts rpm package spec files by build order.

$ rpmbuild-order --help
$ rpmbuild-order sort mycore mylib myapp

The arguments passed can either be directories named after the package, or spec files.

By default it outputs the package names, but it can also output the spec filenames or directory paths for easier scripting.

Using the rpmbuild-order deps and rdeps commands the ordered dependencies and reverse dependencies of a package can be obtained from the current set of checked out package sources.

Known problems

Given packages A, B, C, where C depends on B, and B depends on A, and you call

rpmbuild-order C.spec A.spec

then the output may be wrong if C does not have a direct dependency on A. Even if the order is correct, B is missing in the output and thus in this case the list of packages cannot be reliably used for a sequence of builds.