[PLDWWW] page changed: rpm5
"Elan Ruusamäe (glen)"
glen at pld-linux.org
Tue Nov 20 11:19:32 CET 2012
better
--- https://www.pld-linux.org/rpm5?rev=1353406725
+++ https://www.pld-linux.org/rpm5
@@ -81,14 +81,12 @@
==== 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:
+ To use it within a package, add in the preamble of a subpackage that should be/is architecture independent:
<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=1353406725&r2=1353406771
--
This mail was generated by DokuWiki at
https://www.pld-linux.org/
More information about the pld-cvs-commit
mailing list