RPM Community Forums

Mailing List Message of <rpm-devel>

Re: [CVS] RPM: rpm/ CHANGES rpm/rpmio/ macro.c

From: Ralf S. Engelschall <rse+rpm-devel@rpm5.org>
Date: Sun 16 Mar 2008 - 20:03:36 CET
Message-ID: <20080316190336.GA10248@engelschall.com>
On Sun, Mar 16, 2008, Jeff Johnson wrote:

> Should I add the getopt(3) POSIXMEHARDER, e.g.
>
>     rpm --define '%foo(+) <%*>' --eval '%{foo bar %(echo -n "quux") baz}'
> <bar quux baz>
>
> Note %foo(+) ...
>
> It would be nice to have an answer to "feature regression" as well. Too bad
> "+'
> is an opt-out disabler of POSIXMEHARDER, likely a opt-in enabler is more
> workable
> work for macros.
>
> Hmm, perhaps %foo(+) and %foo(-) as switches ...

Yes, as long as %foo(+) is the default it would be cool to be able to
have macros with and without option/argument permutation support. So,
%foo(+) should use POSIXMEHARDER and %foo(-) not. Go for it if you also
like this...
                                       Ralf S. Engelschall
                                       rse@engelschall.com
                                       www.engelschall.com
Received on Sun Mar 16 20:07:17 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.