HP-UX 11i Version 1.5 Release Notes, September 2001
Programming
Packaging for Specific Releases
Chapter 7136
Packaging for Specific Releases
Software that runs only on certain releases of HP-UX should be
packaged to install only on those OS releases.
This can be accomplished by specifying the correct os_release product
attribute in the Product Specification File (PSF). Software Distributor
matches the value assigned to that attribute against the uname -r value
of a system, such as B.11.20. Some wildcards and regular expressions
are allowed. For example, to make the software installable on any
HP-UX 11.x release, include the following line in the PSF:
os_release ?.11.*
If the software is compatible with HP-UX 11i Version 1.5 (B.11.20) or
HP-UX 11i (B.11.11) but not with HP-UX 11.0 (B.11.00), include the
following line:
os_release ?.11.[12]*
More information about the PSF is available in the sd (4) and swpackage
(4) manual pages.