List Info

Thread: Proper way to package Perl modules




Proper way to package Perl modules
country flaguser name
United States
2007-06-15 05:08:27
What's the expected way to package a Perl module? I want to
build RPM's for 
several Perl modules and in the past on Fedora I'd use
cpanflute2. What do 
I use on CentOS5? Is there a package to install to provide
the necessary 
utility?

I want to repackage the dependencies for MIMEDefang:

        perl(MIME::Parser) is needed by
mimedefang-2.62-1.i386
        perl(MIME::Tools) >= 5.410 is needed by
mimedefang-2.62-1.i386
        perl(MIME::Words) is needed by
mimedefang-2.62-1.i386
        perl-IO-stringy is needed by mimedefang-2.62-1.i386
        perl-MIME-tools is needed by mimedefang-2.62-1.i386
        perl-MailTools is needed by mimedefang-2.62-1.i386

_______________________________________________
CentOS-devel mailing list
CentOS-develcentos.org
http://lists.centos.org/mailman/listinfo/centos-devel

Re: Proper way to package Perl modules
country flaguser name
Czech Republic
2007-06-15 05:14:27
Kenneth Porter napsal(a):
> What's the expected way to package a Perl module? I
want to build RPM's
> for several Perl modules and in the past on Fedora I'd
use cpanflute2.
> What do I use on CentOS5? Is there a package to install
to provide the
> necessary utility?
> 
> I want to repackage the dependencies for MIMEDefang:
> 
>        perl(MIME::Parser) is needed by
mimedefang-2.62-1.i386
>        perl(MIME::Tools) >= 5.410 is needed by
mimedefang-2.62-1.i386
>        perl(MIME::Words) is needed by
mimedefang-2.62-1.i386
>        perl-IO-stringy is needed by
mimedefang-2.62-1.i386
>        perl-MIME-tools is needed by
mimedefang-2.62-1.i386
>        perl-MailTools is needed by
mimedefang-2.62-1.i386
> 
> _______________________________________________
> CentOS-devel mailing list
> CentOS-develcentos.org
> http://lists.centos.org/mailman/listinfo/centos-devel
> 

No need to repackage... Use rpmforge.
David

Dependencies Resolved

============================================================
=================
 Package                 Arch       Version         
Repository        Size
============================================================
=================
Installing:
 mimedefang              i386       2.62-1.el5.rf   
rpmforge          301 k
Installing for dependencies:
 perl-Convert-BinHex     noarch     1.119-2.2.el5.rf 
rpmforge
 34 k
 perl-Digest-SHA1        i386       2.11-1.2.1       base   
           48 k
 perl-FreezeThaw         noarch     0.43-1.2.el5.rf 
rpmforge           17 k
 perl-IO-stringy         noarch     2.110-1.2.el5.rf 
rpmforge
 70 k
 perl-MIME-tools         noarch     5.420-1.el5.rf  
rpmforge          276 k
 perl-MLDBM              noarch     2.01-2.2.el5.rf 
rpmforge           19 k
 perl-MailTools          noarch     1.76-1.el5.rf   
rpmforge           85 k
 perl-TimeDate           noarch     1.16-1.2.el5.rf 
rpmforge           36 k
 perl-Unix-Syslog        i386       0.100-1.2.el5.rf 
rpmforge
 48 k

Transaction Summary
============================================================
=================
Install     10 Package(s)
Update       0 Package(s)
Remove       0 Package(s)

Total download size: 932 k
Is this ok [y/N]:

_______________________________________________
CentOS-devel mailing list
CentOS-develcentos.org
http://lists.centos.org/mailman/listinfo/centos-devel

Re: Proper way to package Perl modules
country flaguser name
United States
2007-06-15 07:03:04
--On Friday, June 15, 2007 12:14 PM +0200 "David
Hrbác(" 
<hrbac.confseznam.cz> wrote:

> No need to repackage... Use rpmforge.

I just found <http://wiki.c
entos.org/Repositories> after posting my 
question and have since installed yum-priorities, and will
next enable the 
rpmforge repo now that I have more confidence that it won't
clobber the 
core OS.

I tend to trust my own packages more than 3rd parties as I
know what files 
they install and what scripts they run. I don't see a yum
equivalent to 
"rpm -qplv --scripts".


_______________________________________________
CentOS-devel mailing list
CentOS-develcentos.org
http://lists.centos.org/mailman/listinfo/centos-devel

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )