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 15:46:16
Branch: rpm-5_0 Handle: 2008020414461501
Modified files: (Branch: rpm-5_0)
rpm CHANGES macros.in
Log:
- jbj: fix: permit #%patchN comments by forcing single line expansion.
Summary:
Revision Changes Path
1.2054.2.35 +1 -0 rpm/CHANGES
1.227.2.2 +4 -5 rpm/macros.in
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: rpm/CHANGES
============================================================================
$ cvs diff -u -r1.2054.2.34 -r1.2054.2.35 CHANGES
--- rpm/CHANGES 4 Feb 2008 13:46:33 -0000 1.2054.2.34
+++ rpm/CHANGES 4 Feb 2008 14:46:15 -0000 1.2054.2.35
@@ -1,4 +1,5 @@
5.0.1 -> 5.0.2:
+ - jbj: fix: permit #%patchN comments by forcing single line expansion.
- 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
@@ .
patch -p0 <<'@@ .'
Index: rpm/macros.in
============================================================================
$ cvs diff -u -r1.227.2.1 -r1.227.2.2 macros.in
--- rpm/macros.in 15 Jan 2008 14:19:18 -0000 1.227.2.1
+++ rpm/macros.in 4 Feb 2008 14:46:16 -0000 1.227.2.2
@@ -1,7 +1,7 @@
#/*! \page config_macros Default configuration: @USRLIBRPM@/macros
# \verbatim
#
-# $Id: macros.in,v 1.227.2.1 2008/01/15 14:19:18 jbj Exp $
+# $Id: macros.in,v 1.227.2.2 2008/02/04 14:46:16 jbj Exp $
#
# This is a global RPM configuration file. All changes made here will
# be lost when the rpm package is upgraded. Any per-system configuration
@@ -396,14 +396,13 @@
# a file and apply using patch(1).
#
-%patch(b:p:P:REz:F:d:) \
+%patch(b:p:P:REz:F:d:) %{shrink:\
%define __patch_number %{-P:%{-P*}}%{!-P:0} \
%define __patch_file %{P:%{__patch_number}} \
%define __patch_suffix %{-b:-b --suffix %{-b*}} %{-z:--suffix %{-z*}} \
%define __patch_options -s %{-p:-p%{-p*}} %{-F:-F%{-F*}} %{-d:-d%{-d*}} %{-R} %{-E} %{__patch_suffix} \
-echo "Patch #%{__patch_number} (%{basename:%{__patch_file}}):"\
-%{uncompress:%{__patch_file}} | %{__patch} %{__patch_options}\
-%{nil}
+echo "Patch #%{__patch_number} (%{basename:%{__patch_file}}):" && %{uncompress:%{__patch_file}} | %{__patch} %{__patch_options}\
+}
#
# Script gets packaged file list on input and buildroot as first parameter.
@@ .
Received on Mon Feb 4 15:46:16 2008