[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: cpanflute patch



James Olin Oden <joden@lee.k12.nc.us> writes:

> > 
> > The easiest way to find out what RPM thinks a macro will be is a
> > simple 'rpm --eval %{foo}'.  This will result in the expanded version
> > of the foo macro.  (The RPM2 bindings support this kind of behavior as
> > well, but making RPM::Specfile require RPM2 right now is probably a
> > bit premature; maybe later, when there is more for it to use from the
> > bindings).
> >
> Sounds good to me.  I got the 1.04 release and all looks well, and the
> --eval option certainly simplified things, and made it less likely to
> break because of them changing the output of --showrc.  
> 
> One silly question.  I added a version to the cpanflute2 program that
> shows up in the usage so that silly admins like me can figure out what
> version of cpanflute2 they are using without looking at the source.  
> How do you want to handle incrementing that?

I'm slow, but I've finally patched this in.  I've also fixed the
binary output problem (there's an rpm macro that is responsible for
why the i386/ dir and such are made, so redefining that solves it).

I'll upload to CPAN ASAP; PAUSE seems to be down right now, though.

Thanks for the patch!

Chip

-- 
Chip Turner                   cturner@redhat.com
                              Red Hat, Inc.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []