[PLDWWW] page changed: rpm5
"Elan Ruusamäe (glen)"
glen at pld-linux.org
Tue Nov 20 11:18:45 CET 2012
[noarch subpackages]
--- https://www.pld-linux.org/rpm5?rev=1353359180
+++ https://www.pld-linux.org/rpm5
@@ -80,9 +80,15 @@
==== 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>
+ 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.
Diff URL:
https://www.pld-linux.org/rpm5?do=diff&r1=1353359180&r2=1353406725
--
This mail was generated by DokuWiki at
https://www.pld-linux.org/
More information about the pld-cvs-commit
mailing list