perl vs %{__perl}

Steven Pritchard steve at silug.org
Fri Apr 27 18:44:26 UTC 2007


On Fri, Apr 27, 2007 at 10:21:55AM -0700, Chris Weyl wrote:
> ...and along the same lines, is there benefit to using %{__perl} vs
> just plain "perl" or "/usr/bin/perl" in spec files?  I generally try
> to avoid the macro-ised versions of utils, but it sounds like there
> may be benefit to this.  (See also BZ#237883)

Theoretically using the macro would make it easier for someone to
build a package against a non-standard perl.  (Redefining %{__perl},
%{perl_vendorlib}, and %{perl_vendorarch} should be all you'd need for
most modules...)

Steve
-- 
Steven Pritchard - K&S Pritchard Enterprises, Inc.
Email: steve at kspei.com             http://www.kspei.com/
Phone: (618)398-3000               Mobile: (618)567-7320




More information about the Fedora-perl-devel-list mailing list