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 availableYouri::Package::RPM::RPM
if RPM is availableYouri::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.