Module RPM
In: lib/rpm.rb
lib/rpm/c.rb
lib/rpm/package.rb
lib/rpm/c/rpmtd.rb
lib/rpm/c/rpmlog.rb
lib/rpm/c/rpmts.rb
lib/rpm/c/rpmcli.rb
lib/rpm/c/rpmprob.rb
lib/rpm/c/rpmcallback.rb
lib/rpm/c/rpmlib.rb
lib/rpm/c/rpmio.rb
lib/rpm/c/rpmfi.rb
lib/rpm/c/rpmtag.rb
lib/rpm/c/rpmds.rb
lib/rpm/c/rpmps.rb
lib/rpm/c/rpmdb.rb
lib/rpm/c/header.rb
lib/rpm/c/rpmtypes.rb
lib/rpm/c/rpmmacro.rb
lib/rpm/gem_version.rb
lib/rpm/transaction.rb
lib/rpm/match_iterator.rb
lib/rpm/db.rb
lib/rpm/version.rb
lib/rpm/compat.rb
lib/rpm/problem.rb
lib/rpm/utils.rb
lib/rpm/file.rb
lib/rpm/dependency.rb

The reason this file is gem_version.rb and not version.rb is because it conflicts with the version.rb class

Methods

[]   []=   transaction  

Classes and Modules

Module RPM::C
Module RPM::Utils
Class RPM::ChangeLog
Class RPM::Conflict
Class RPM::DB
Class RPM::Dependency
Class RPM::File
Class RPM::MatchIterator
Class RPM::Obsolete
Class RPM::Package
Class RPM::Problem
Class RPM::Provide
Class RPM::Require
Class RPM::Version

Constants

TAG = RPM::C::Tag
LOG = RPM::C::Log
SENSE = RPM::C::Sense
FILE = RPM::C::FileAttrs
FILE_STATE = RPM::C::FileState
TRANS_FLAG = RPM::C::TransFlags
PROB_FILTER = RPM::C::ProbFilter
MIRE = RPM::C::RegexpMode
PKG_NAME = "ruby-rpm"
GEM_VERSION = "0.0.5"
CallbackData = Struct.new(:type, :key, :package, :amount, :total) do def to_s

Public Class methods

@param [String] name Name of the macro @return [String] value of macro name

Setup a macro @param [String] name Name of the macro @param [String] value Value of the macro or nil to delete it

Creates a new transaction and pass it to the given block

@param [String] root dir, default ’/’

@example

  RPM.transaction do |ts|
     ...
  end

[Validate]