User Tools

Site Tools


rpm5

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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-20 11:18]
glen [noarch subpackages]
Line 79: Line 79:
 </​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 you should add to subpackage:
 +
 +<​file>​
 +# noarch subpackages only when building with rpm5
 +%if "​%{_rpmversion}"​ >= "​5"​
 +BuildArch: ​ noarch
 +%endif
 +</​file>​
 +
 +in the preamble of a subpackage that should be/is architecture independent.
rpm5.txt · Last modified: 2015-01-13 16:01 by glen