cpanspec - proposal of default behaviour

Petr Pisar ppisar at redhat.com
Mon Jan 31 09:55:51 UTC 2011


On Fri, Jan 28, 2011 at 10:55:25AM -0600, Steven Pritchard wrote:
> On Fri, Jan 28, 2011 at 05:20:55PM +0100, Marcela Mašláňová wrote:
> > I'd like to propose a change in default behaviour of cpanspec. There
> > shouldn't be defined buildroot, called rm -rf in build phase, etc. These
> > changes are optional, the old behaviour can be triggered with --epel
> > option. [1]
> 
> There's already a --old option.  Wouldn't it make more sense to expand
> that, or maybe make it cumulative?  (-o to get recent behavior, -oo to
> get "%check || :" and other cruft like that?)
> 
I'd like to see a profile approach to allow different distributions to
generate spec files tuned for ther packaging rules. One could then define
a profile for Fedora and EPEL-6 like not to generate BuildRoot stuff, and
EPEL-5 to generate the code etc. The profile becames then a set of features
(generate-buildroot ∈ EPEL-5, generate-buildroot ∉ FEDORA).

-- Petr
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: not available
URL: <http://lists.fedoraproject.org/pipermail/perl-devel/attachments/20110131/68b55c10/attachment.sig>


More information about the perl-devel mailing list