Библиотека сайта rus-linux.net
Maximum RPM: Taking the Red Hat Package Manager to the Limit | ||
---|---|---|
Prev | Appendix E. Concise Spec File Reference | Next |
Directives For the %files list
This section lists the various directived used in the %files lists.
File-related Directives
This section lists those directives that are related to files.
The %doc Directive
|
See also: the section called The %doc Directive in Chapter 13.
The %config Directive
|
See also: the section called The %config Directive in Chapter 13.
The %attr Directive
|
|
See also: the section called The %attr Directive in Chapter 13.
The %verify Directive
The %verify directive is used to control which of nine different file attributes are to be verified by RPM. The attributes are:
owner — The file's owner.
group — The file's group.
mode — The file's mode.
md5 — The file's MD5 checksum.
size — The file's size.
maj — The file's major number.
min — The file's minor number.
symlink — The file's symbolic link string.
mtime — The file's modification time.
|
See also: the section called The %verify Directive in Chapter 13.
Directory-related Directives
The %docdir Directive
The %docdir directive is used to add the specified directory to RPM's internal list of directories containing documentation. When a directory is added to this list, every file packaged in this directory (and any subdirectories) will automatically be marked as documentation.
See also: the section called The %docdir Directive in Chapter 13.
The %dir Directive
|
See also: the section called The %dir Directive in Chapter 13.