This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
rpm5 [2012-10-08 14:53] baggins [Excluding dependencies] |
rpm5 [2012-11-19 22:06] baggins noarch subpackages |
||
---|---|---|---|
Line 76: | Line 76: | ||
Regexp patterns for '''%%_noauto*%%''' macros changed slightly, and '(' must be escaped now, for example: | Regexp patterns for '''%%_noauto*%%''' macros changed slightly, and '(' must be escaped now, for example: | ||
- | <file>%define __noautoreq 'perl\\(something::.*\\)' | + | <file>%define _noautoreq 'perl\\(something::.*\\)' |
</file> | </file> | ||
+ | ==== noarch subpackages ==== | ||
+ | |||
+ | Rpm 5.x supports **noarch** subpackages, a feature that can save space on ftp server and mirrors and ease use of multiarch packages. | ||
+ | To use it within a package all what is needed is to put | ||
+ | |||
+ | <file>BuildArch: noarch</file> | ||
+ | |||
+ | in the preamble of a subpackage that should be/is architecture independent. |