[PLDWWW] page changed: rpm5
"Elan Ruusamäe (glen)"
glen at pld-linux.org
Sat Nov 24 17:14:50 CET 2012
[Excluding dependencies]
--- https://www.pld-linux.org/rpm5?rev=1353406771
+++ https://www.pld-linux.org/rpm5
@@ -74,11 +74,20 @@
==== Excluding dependencies ====
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>
+ rpm-build-tools [[http://git.pld-linux.org/?p=packages/rpm-build-macros.git;a=commitdiff;h=0a9bb9747529d8f89a74f6db5f317abe1454d8ac|v1.654]] adds handy macros to have same syntax for rpm4/5 .specs:
+
+ <code>
+ BuildRequires: rpmbuild(macros) >= 1.654
+
+ %define _noautoreq_pear Excluded.php PEAR/Something.php
+ %define _noautoreq_perl Apache::.*
+ </code>
==== 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.
Diff URL:
https://www.pld-linux.org/rpm5?do=diff&r1=1353406771&r2=1353773690
--
This mail was generated by DokuWiki at
https://www.pld-linux.org/
More information about the pld-cvs-commit
mailing list