Guillaume Rousse > Youri-Package-0.2.3 > Youri::Package::RPM

Download:
Youri-Package-0.2.3.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Module Version: 0.2.0   Source   Latest Release: Youri-Package-0.2.4

NAME ^

Youri::Package::RPM - Base class for all RPM-based package implementation

DESCRIPTION ^

This bases class factorize code between various RPM-based package implementation.

get_wrapper_class

Returns the name of a class corresponding to currently available perl RPM bindings:

Youri::Package::RPM::RPM4 if RPM4 is available
Youri::Package::RPM::RPM if RPM is available
Youri::Package::RPM::URPM if URPM is available

This allow to write binding-independant code, by using methods of this class instead of using bindings-specific functions.

set_verbosity
install_srpm
add_macro
expand_macro
new_header
new_spec
new_transaction

set_verbosity

This method calls underlying binding corresponding function.

install_srpm

This method calls underlying binding corresponding function.

add_macro

This method calls underlying binding corresponding function.

expand_macro

This method calls underlying binding corresponding function.

new_header

This method calls the constructor of the underlying binding Header class.

new_spec

This method calls the constructor of the underlying binding Spec class.

new_transaction

This method calls the constructor of the underlying binding Transaction class.

syntax highlighting: