<div class="gmail_quote">On Sun, May 24, 2009 at 5:41 AM, Iain Arnell <span dir="ltr"><<a href="mailto:iarnell@gmail.com">iarnell@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Sun, May 24, 2009 at 9:39 AM, Chris Weyl <<a href="mailto:cweyl@alumni.drew.edu">cweyl@alumni.drew.edu</a>> wrote:<br>
><br>
> <a href="http://fedorapeople.org/%7Ecweyl/macros.perl" target="_blank">http://fedorapeople.org/~cweyl/macros.perl</a><br>
</div>[snip]<br>
<div class="im">> If the macros look sane, I'll open a RFE bug against the perl package to ask<br>
> that it be bundled and delivered as /etc/rpm/macros.perl.<br>
<br>
</div>Wonderful. Certainly looks sane and appears to be working as expected.</blockquote><div> <br>Good.  RPM macros always hurt my brain a little bit :)<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

Would also be sensible to update the specfile templates in rpmdevtools<br>
and cpanspec (and others?) to include this by default. And presumably<br>
packages relying on this would also need something along the lines of<br>
BuildRequires: config(perl).<br></blockquote></div><br>A couple things work in our favour here.  If we use the core perl package to deliver the macros to /etc/rpm/macros.perl, then for any other perl package we build we're covered.  If a non-perl package wants to use it, then they're covered as well: either by requiring perl explicitly or simply relying on perl always being in the buildroot (which it is).<br>
<br>So, once the new macro file is out there we'll be able to use them anywhere without needing to explicitly require anything new...  Though a conditional invokation is probably best for a while.  If other packages start to use them widescale, that will give us leverage to have them included in the rpm package.<br clear="all">
<br>                                     -Chris<br>-- <br>Chris Weyl<br>Ex astris, scientia<br>