On 12/10/2012 05:56 PM, Miro Hrončok wrote:
Sorry for breaking the thread, I wasn't subscribed on the list, so I
did not get the answer. I am now.
Reply to Petr Šabata:
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...
Sorry, I did not, feel free to do so :)
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...
Well, I've just forked a github repository that seems to be also a bit
modified compared to cpanspec tarball, I don't want to fork the app,
change the name and so...
I supposed Steve is on this list, is he not?
Steve has been largely away from Fedora for the last year or so; haven't
seen him on this list for ages.
2012/12/8 Miro Hrončok <m...@hroncok.cz>:
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.
I've forked the original tool, as it seems, no one is currently working on this.
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 {} \;
I think this one is still needed for arch-specific packages.
The removal of empty directories from the buildroot in %install is not
needed though, so you could delete that.
Paul.
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel