Hello...
Who does the perl modules and/or cpanflute for the RH releases?
The reason I ask is I tweeked cpanflute and i thought the maintainer
might like it.
Basically, when cpanflute if run it looks for a 'package'.requires and a
'package'.build file. The contents look like this:
[chrismcc@buildmachine SPECS.add]$ cat libwww-perl.requires
BuildPreReq: perl(Digest::MD5) perl(HTML::Parser) perl(MIME::Base64)
perl(URI)
BuildPreReq: perl(Net::FTP) >= 2.58 perl(Compress::Zlib)
Requires: perl(Digest::MD5) perl(HTML::Parser) perl(MIME::Base64) perl(URI)
Requires: perl(Net::FTP) >= 2.58 perl(Compress::Zlib)
[chrismcc@buildmachine SPECS.add]$ cat libwww-perl.build
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL -n <<EOF
n
EOF
This gets automagically included in the spec file
As it is now, you can install perl-foo-1.2.3.i386.rpm. But if that perl
module really needs bar.pm to work, perl-foo apears broken.
make sense?
We use perl a lot. I have found this makes my life a lot easier. For
instance, when there is a new release of perl-DBI that one of the
developers just can't live without, I don't have to remember that I also
need perl(Net::Daemon) perl(Storable) perl(Bundle::PlRPC) to go with it.
rpm --rebuild perl-DBI-1.20-11.04pg.src.rpm
Installing perl-DBI-1.20-11.04pg.src.rpm
error: failed build dependencies:
perl(Net::Daemon) is needed by perl-DBI-1.20-11.04pg
perl(Storable) is needed by perl-DBI-1.20-11.04pg
perl(Bundle::PlRPC) is needed by perl-DBI-1.20-11.04pg
sudo rpm -ivh perl-DBI-1.20-11.04pg.i386.rpm
Password(for chrismcc):
error: failed dependencies:
perl(Net::Daemon) is needed by perl-DBI-1.20-11.04pg
perl(Storable) is needed by perl-DBI-1.20-11.04pg
perl(Bundle::PlRPC) is needed by perl-DBI-1.20-11.04pg
--
Christopher McCrory
"The guy that keeps the servers running"
[EMAIL PROTECTED]
http://www.pricegrabber.com
Let's face it, there's no Hollow Earth, no robots, and
no 'mute rays.' And even if there were, waxed paper is
no defense. I tried it. Only tinfoil works.
_______________________________________________
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-devel-list