could somebody push this to new rpm(macros) revision? some explanation how it goes would do too
---------- Forwarded Message ---------- Subject: SOURCES (AC-branch): rpm.macros - %banner update: errorproof: allo... Date: Tuesday 08 March 2005 00:08 From: glen <[EMAIL PROTECTED]> To: [email protected] Author: glen Date: Mon Mar 7 22:08:23 2005 GMT Module: SOURCES Tag: AC-branch ---- Log message: - %banner update: errorproof: allow space between here document and delimiter (<< EOF) ---- Files affected: SOURCES: rpm.macros (1.158.4.21 -> 1.158.4.22) ---- Diffs: ================================================================ Index: SOURCES/rpm.macros diff -u SOURCES/rpm.macros:1.158.4.21 SOURCES/rpm.macros:1.158.4.22 --- SOURCES/rpm.macros:1.158.4.21 Sun Mar 6 11:23:55 2005 +++ SOURCES/rpm.macros Mon Mar 7 23:08:17 2005 @@ -486,8 +486,8 @@ # the banner text, the banner text # the banner text, and following line #EOF -# NOTE: -# You can use <<'EOF' <<-EOF, or whatever, just remember it must be one word +# You can use any form of here-document, <<'EOF' <<-EOT, can do +# NOTE: if your use "<<-EOF", then You can actually indent in here-document. # # -a - append to the banner # -e - send to stderr instead of stdout @@ -501,6 +501,6 @@ else \ CMD="cat%{-e: >&2}" \ fi \ -$CMD %2 \ +$CMD %2%{?3: %3} \ %nil ================================================================ ---- CVS-web: http://cvs.pld-linux.org/SOURCES/rpm.macros?r1=1.158.4.21&r2=1.158.4.22&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit ------------------------------------------------------- -- glen _______________________________________________ pld-devel-en mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-devel-en
