On Sat, Dec 08, 2012 at 10:28:16PM +0100, Miro Hrončok wrote: > Hi, > I've been using cpanspec tool recently and there were several lines of > output, that I had to change manually afterwards, that could have been > automated. Hi Miro, > I've forked the original tool, as it seems, no one is currently working on this. That's quite funny as I was just about to do the same thing :) > Here's what I've changed: > > - Removed %defattr(-,root,root,-) > - Replaced PERL_INSTALL_ROOT with DESTDIR > - Removed BuildRoot definition > - Removed rm -rf at the beggining of the %install section > - Removed find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \; > - Added %{?perl_default_filter} if it is not a noarch package I believe most of those things should still be in the spec file if the 'old' option is used. Though I haven't looked at your code yet; maybe you did it like that... > The code is located here: https://github.com/hroncok/cpanspec > > I do not understand this script logic (I haven't tried so), I've just > changed it's output a bit. > > Please consider using this as default in Fedora, or correct me, if > I've done anything wrong. Have you possibly consulted this with Steve in any way? I suppose it'd be better to overtake the current project instead of starting a new fork... Petr
Attachment:
pgp39Op4F_DdJ.pgp
Description: PGP signature
-- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel