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 {} \;
- Added %{?perl_default_filter} if it is not a noarch package

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.

Miro Hrončok

Jabber: m...@hroncok.cz
Telefon: +420777974800
--
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

Reply via email to