James Olin Oden wrote:
On 11/11/05, Toralf Lund <toralf@xxxxxxxxxxxxxx> wrote:
Does the option --macros work at all in rpm 4.2? It seems to have no
effect for me, or at least, macro files that I did not mention will also
be read (the doc says "read files *instead of*..."), and I believe
someone else also mentioned problems with it a while back...
I have never seen it work, personally, what I have done and seen done
is to use the option to specify an alternate rc file that specifes a
macro path that includes the macro file you wish to load. cpanflute2
which is part of the RPM::Spec file cpan module has an example of
this.
I've used this technique before, and I know it works. But it's a lot
more cumbersome than using --macros would be if that option were fully
functional. But thanks for confirming that it isn't...
- Toralf
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list