Packaging/Review Guidelines

From openSUSE

Package Review Guidelines

This is a set of guidelines for Package Reviews. Note that a complete list of things to check for would be impossible, but every attempt has been made to make this document as comprehensive as possible. Reviewers and contributors (packagers) should use their best judgement whenever items are unclear, and if in doubt, ask on the opensuse-packaging list .


Things To Check On Review

There are many many things to check for a review. This list is provided to assist new reviewers in identifying areas that they should look for, but is by no means complete. Reviewers should use their own good judgement when reviewing packages. The items listed fall into two categories: SHOULD and MUST.

Items marked as MUST are things that the package (or reviewer) MUST do. If a package fails a MUST item, that is considered a blocker. No package with blockers can be approved on a review. Those items must be fixed before approval can be given.


Items marked as SHOULD are things that the package (or reviewer) SHOULD do, but is not required to do.


  • SHOULD: If the source package does not include license text(s) as a separate file from upstream, the packager SHOULD query upstream to include it. Licensing Guidelines: License Text
  • SHOULD: The description and summary sections in the package spec file should contain translations for supported Non-English languages, if available. Packaging Guidelines: Summary and description
  • SHOULD: The reviewer should test that the package builds using "osc build"
  • SHOULD: The package should compile and build into binary rpms on all supported architectures. Packaging Guidelines: Architecture Support
  • SHOULD: The reviewer should test that the package functions as described. A package should not segfault instead of running, for example.
  • SHOULD: If scriptlets are used, those scriptlets must be sane. This is vague, and left up to the reviewers judgement to determine sanity. Packaging Guidelines: Scriptlets
  • SHOULD: Usually, subpackages other than devel should require the base package using a versioned dependency. Packaging Guidelines: Requiring Base Package
  • SHOULD: The placement of pkgconfig(.pc) files depends on their usecase, and this is usually for development purposes, so should be placed in a -devel pkg. A reasonable exception is that the main pkg itself is a devel tool not installed in a user runtime, e.g. gcc or gdb. Packaging Guidelines: Pkgconfig Files
  • SHOULD: If the package has file dependencies outside of /etc, /bin, /sbin, /usr/bin, or /usr/sbin consider requiring the package which provides the file instead of the file itself. Packaging Guidelines: File Dependencies