The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

App::CPAN2Pkg::Worker::RPM - worker specialized in rpm distributions

VERSION

version 3.000

DESCRIPTION

This class implements a worker specific to RPM-based distributions. It inherits from App::CPAN2Pkg::Worker.

CLASS ATTRIBUTES

rpmlock

A lock (App::CPAN2Pkg::Lock object) to prevent more than one rpm installation at a time.

ATTRIBUTES

srpm

Path to the source RPM of the module built with cpan2dist.

rpm

Path to the RPM of the module built with cpan2dist.

pkgname

The name of the package created.

EVENTS

get_rpm_lock

    get_rpm_lock( $event )

Try to get a hold on RPM lock. Fire $event if lock was grabbed successfully, otherwise wait 5 seconds before trying again.

AUTHOR

Jerome Quelin <jquelin@gmail.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2009 by Jerome Quelin.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.