Developer's Topics
Chapter 13, Packaging your software applications

compver

compver

The compver(F) package information file defines previous (or future) versions of the package that are compatible with this version. Each line in the file consists of a string defining a version of the package with which the current version is compatible. Because some packages might require installation of a particular version of another software package, compatibility information is extremely crucial. If a package ``A'' requires version ``1.0'' of application ``B'' as a prerequisite, but the customer installing ``A'' has a new and improved version of ``1.3'' of ``B'', the compver(F) file for ``B'' must indicate that the new version is compatible with version ``1.0'' in order for the customer to install package ``A''. The string must match the definition of the VERSION parameter in the pkginfo(F) file of the package considered to be compatible. Here is an example of this file: 

Version 1.3
Version 1.0