SOURCES (AC-branch): rpm.macros - added %%banner support (needs ba...

havner havner at smtp.kamp.pl
Tue Nov 23 14:52:25 CET 2004


On Tue, Nov 23, 2004 at 01:48:38PM +0000, pzurowski wrote:
> Author: pzurowski                    Date: Tue Nov 23 13:48:38 2004 GMT
> Module: SOURCES                       Tag: AC-branch
> ---- Log message:
> - added %%banner support (needs banner.sh)

> +%banner(a:n:t:)	\
> +	[ -r /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm || RPM_SCRIPTVERBOSITY=5; \
> +	banner.sh %{!-t:%{!-n:-s}} %{-t:`[ $RPM_SCRIPTVERBOSITY -ge %{-t*} ] && echo "-s"`} %{!-a:-m}%{-a:-M} %1 << EOF\
> +%nil
> +

I'm a little bit out of topic, but in that case iwhouldn't this script be
in rpm, or at least this macro should check for its existance.

-- 
Regards    Havner                      {jid,mail}:havner(at)pld-linux.org
PLD developer && PLD 2.0 release manager         http://www.pld-linux.org
PLD LiveCD author                             http://livecd.pld-linux.org
                   "Quis custodiet ipsos custodes?"




More information about the pld-devel-en mailing list