RPM Community Forums

Mailing List Message of <rpm-cvs>

[CVS] RPM: rpm-5_0: rpm/ CHANGES rpm/doc/manual/ macros

From: Jeff Johnson <jbj@rpm5.org>
Date: Mon 04 Feb 2008 - 14:46:34 CET
Message-Id: <20080204134634.36B7C348458@rpm5.org>
  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:46:34
  Branch: rpm-5_0                          Handle: 2008020413463301

  Modified files:           (Branch: rpm-5_0)
    rpm                     CHANGES
    rpm/doc/manual          macros

  Log:
    - jbj: document newer macro builtins (%{@foo:...}, %{uuid:...}, and
    %{lua:...} todo).

  Summary:
    Revision    Changes     Path
    1.2054.2.34 +1  -0      rpm/CHANGES
    1.7.4.1     +13 -0      rpm/doc/manual/macros
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: rpm/CHANGES
  ============================================================================
  $ cvs diff -u -r1.2054.2.33 -r1.2054.2.34 CHANGES
  --- rpm/CHANGES	3 Feb 2008 23:47:49 -0000	1.2054.2.33
  +++ rpm/CHANGES	4 Feb 2008 13:46:33 -0000	1.2054.2.34
  @@ -1,4 +1,5 @@
   5.0.1 -> 5.0.2:
  +    - jbj: document newer macro builtins (%{@foo:...}, %{uuid:...}, and %{lua:...} todo).
       - jbj: fix: poldek in PLD needs replacement for headerGetRawEntry().
       - rse: ensure macro option parsing is done correctly also under GLIBC by not allowing option/argument permutations
       - jbj: pedantic identification of Foo (not foo) syscalls in --fsmdebug spew.
  @@ .
  patch -p0 <<'@@ .'
  Index: rpm/doc/manual/macros
  ============================================================================
  $ cvs diff -u -r1.7 -r1.7.4.1 macros
  --- rpm/doc/manual/macros	25 May 2007 17:35:58 -0000	1.7
  +++ rpm/doc/manual/macros	4 Feb 2008 13:46:34 -0000	1.7.4.1
  @@ -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:46:34 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.