RPM Community Forums

Mailing List Message of <rpm-devel>

Re: [CVS] RPM: rpm/ CHANGES TODO rpm/lib/ psm.c rpmlib.h

From: Jeff Johnson <n3npq@mac.com>
Date: Fri 07 Dec 2007 - 13:54:30 CET
Message-Id: <7C7576C0-3788-45BB-9BD7-57B82E4F9C28@mac.com>

On Dec 7, 2007, at 3:21 AM, Ralf S. Engelschall wrote:

> On Thu, Dec 06, 2007, Jeff Johnson wrote:
>
>> Are there concerns?
>
> No, I think it's fine as "%" in the usual shell scripts
> does not occur at all...
>

The explicit check here is

$ rpm -qa --scripts | grep '%'
#%post xsltc
#%preun xsltc
# XXX Removing dbenv files in %post opens a lock race window, a  
tolerable
# Save an ldif of the database where the "% post servers" scriptlet can
# Save an ldif of the database where the "% post servers" scriptlet can
#%post javadoc
#%postun javadoc
           perl -p -i -e "s#/usr/X11R6/lib/X11/fonts/${fpe}#% 
{_x11fontdir}/${fpe}#g" $XFSCONFIG
rel=${rel%.cat}
#%if 1
#%endif
#%if 1
#%endif
#%if 1
#%endif
#%postun

All but "rel=${rel%.cat}" is trash (but will be macro expanded now).

73 de Jeff
Received on Fri Dec 7 13:54:57 2007
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.