Библиотека сайта rus-linux.net
|Maximum RPM: Taking the Red Hat Package Manager to the Limit|
|Prev||Appendix E. Concise Spec File Reference||Next|
This section lists the various scriptlets found in a spec file.
Every build scriptlet has the following environment variables defined:
For more information on these environment variables, and build scriptlets in general, please see the section called Build-time Scripts in Chapter 13.
These scriptlets are executed whenever the package is installed or erased. Each scriptlet can contain any valid sh commands.
The subpackage name and usage of the
-n option must
match those defined with the %package directive.
Each scriptlet has the following environment variable defined:
For more information on this environment variable please see the section called Install/Erase-time Scripts in Chapter 13.
This section describes the verification script.
The %verifyscript scriptlet executes whenever the
package is verified using RPM's
The scriptlet can contain any valid sh commands.