RPM Package Manager, CVS Repository
http://rpm5.org/cvs/
____________________________________________________________________________
Server: rpm5.org Name: Jeff Johnson
Root: /v/rpm/cvs Email: jbj@rpm5.org
Module: rpm Date: 04-Feb-2008 14:45:37
Branch: HEAD Handle: 2008020413453700
Modified files:
rpm CHANGES
rpm/doc/manual macros
Log:
- jbj: document newer macro builtins (%{@foo:...}, %{uuid:...}, and
%{lua:...} todo).
Summary:
Revision Changes Path
1.2130 +1 -0 rpm/CHANGES
1.8 +13 -0 rpm/doc/manual/macros
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: rpm/CHANGES
============================================================================
$ cvs diff -u -r1.2129 -r1.2130 CHANGES
--- rpm/CHANGES 3 Feb 2008 23:19:58 -0000 1.2129
+++ rpm/CHANGES 4 Feb 2008 13:45:37 -0000 1.2130
@@ -1,4 +1,5 @@
5.0.0 -> 5.1a1:
+ - jbj: document newer macro builtins (%{@foo:...}, %{uuid:...}, and %{lua:...} todo).
- jbj: fix: poldek in PLD needs replacement for headerGetRawEntry().
- jbj: add rpmcliWalkFirst() to search (possibly multiple) dirs.
- rse: add _rpmgi_pattern_{glob,regex} macros for "+N" arg-to-path rewrite.
@@ .
patch -p0 <<'@@ .'
Index: rpm/doc/manual/macros
============================================================================
$ cvs diff -u -r1.7 -r1.8 macros
--- rpm/doc/manual/macros 25 May 2007 17:35:58 -0000 1.7
+++ rpm/doc/manual/macros 4 Feb 2008 13:45:37 -0000 1.8
@@ -69,10 +69,12 @@
%trace toggle print of debugging information before/after
expansion
%dump print the active (i.e. non-covered) macro table
+ %{load:...} load macros from a ... file
%{echo:...} print ... to stderr
%{warn:...} print ... to stderr
%{error:...} print ... to stderr and return BADSPEC
+ %{verbose:...} expand ... argument iff --verbose has been specified
%define ... define a macro
%undefine ... undefine a macro
@@ -85,6 +87,17 @@
bzip2 -dc <file> # if bzip'ed
%{expand:...} like eval, expand ... to <body> and (re-)expand <body>
+ %{basename:...} the trailing portion of ... with directory path removed
+ %{dirname:...} the leading directory path of the ... argument
+ %{realpath:...} the canonicalized path of the ... argument
+ %{getenv:...} the value of the ... envvar
+ %{shrink:...} trim from ends, horten intermediate, whitespace in ...
+ %{suffix:...} the trailing part after '.' of the ... argument
+ %{url2path:...} skip "scheme://user:pass@host:port" of a ... URI
+ %{u2p:...} same as %{url2path:...}
+
+ %{mkstemp:...} a temporary file from ... template (see mkstemp(3))
+
%{S:...} expand ... to <source> file name
%{P:...} expand ... to <patch> file name
%{F:...} expand ... to <file> file name
@@ .
Received on Mon Feb 4 14:45:37 2008