Class: MintPress::Resources::RPMUtils

Inherits:
Object
  • Object
show all
Includes:
MintLogger
Defined in:
src/mintpress-resources/lib/mintpress-resources/rpm_package.rb

Properties (Read/Write)

Properties (Read Only)

Constant Summary

Constants included from MintLogger

MintLogger::DEBUG, MintLogger::ERROR, MintLogger::FATAL, MintLogger::INFO, MintLogger::UNKNOWN, MintLogger::VERBOSE, MintLogger::WARN

Class Method Summary collapse

Methods included from MintLogger::Utils::Common

#boolean_val, #has_value?, #no_value?, #nvl, #path_as_symbol, #ruby_level_to_send

Class Method Details

.check_type(var, type) ⇒ Object

Raises:

  • (TypeError)

.isalnum(x) ⇒ Object

verify

.isalpha(x) ⇒ Object

.isdigit(x) ⇒ Object

.rpmvercmp(x, y) ⇒ Object

based on the reference spec in lib/rpmvercmp.c in rpm 4.9.0

.version_parse(evr) ⇒ Object

RPM::Version version_parse equivalent