[tools] dar-perl.py
Dag Wieers
dag at wieers.com
Thu Sep 18 16:06:11 CEST 2008
On Thu, 18 Sep 2008, Bowie Bailey wrote:
> Dag Wieers wrote:
>>
>> Yes, it produced a SPEC file but when getting the information of your
>> user it doesn't find the key in the list. So you have to add your own
>> name to the authorities list.
>>
>> I will add some code to add Anonymous Coward instead :-)
>
> So it was looking for my key to sign the package. I didn't know that
> was needed. Where do I need to put my key?
No, I meant with key the 'index' in a mapping (or associative array).
It is used to translate the username into a Name+Email.
Sorry for the confusion.
>>> What exactly is this program supposed to do? Can someone give me an
>>> example of how to use it to install a Perl module and its
>>> dependencies?
>>
>> It generates a SPEC file that can be used to create an RPM package.
>
> I was pointed to this program as a way to automatically package a Perl
> module and its dependencies without having to manually find and download
> them all. If all it does is create a SPEC file, then how is it
> different from cpan2rpm?
It creates a SPEC file that works for all RHEL versions and even
SLES/OpenSUSE because it doesn't pretend to be too smart.
It mostly depends what your goal is, we maintain the SPEC files afterwards
so the aim is to generate a SPEC file that is simple to maintain.
> What I am looking for is a program that can take a package, figure out
> the dependencies, grab them from CPAN (or wherever) and package them all
> for installation. The end result should be a group of rpms that I can
> install so that I have the module that I wanted along with all of the
> dependencies that I need to make it work. Does anything like this
> exist?
There was a post prior to yours of someone who modified dar-perl to do
this. Since dar-perl is just a component to maintain the SPEC files it was
never intended to do everything you want.
--
-- dag wieers, dag at wieers.com, http://dag.wieers.com/ --
[Any errors in spelling, tact or fact are transmission errors]
More information about the tools
mailing list