Библиотека сайта rus-linux.net
|Maximum RPM: Taking the Red Hat Package Manager to the Limit|
|Prev||Appendix E. Concise Spec File Reference||Next|
This section describes the various macros used by RPM.
-noption is used to set the name of the software's build directory. This is necessary only when the source archive unpacks into a directory named other than
-coption is used to direct %setup to create the top-level build directory before unpacking the sources.
-Doption is used to direct %setup to not delete the build directory prior to unpacking the sources. This option is used when more than one source archive is to be unpacked into the build directory, normally with the
-Toption is used to direct %setup to not perform the default unpacking of the source archive specified by the first Source: tag. It is used with the
-boption is used to direct %setup to unpack the source archive specified on the nth Source: tag line before changing directory into the build directory.
-aoption is used to direct %setup to unpack the source archive specified on the nth Source: tag line after changing directory into the build directory.
-Poption is another method of applying a specific patch. The number from the Patch: tag follows the
-Poption. The following %patch macros both apply the patch specified on the Patch2: tag line:
-poption is sent directly to the patch command. It is followed by a number which specifies the number of leading slashes (and the directories in between) to strip from any filenames present in the patch file.
-boption is used to change the extension used by patch.
-E option is sent directly to the
patch command. It is used to direct
patch to remove any empty files after the patches
have been applied.
Только зарегистрированные пользователи могут оценивать и комментировать статьи.