module RPM::C
Constants
- CallbackType
- Dbi
- FileAttrs
- FileState
- HEADERGET_ALLOC
- HEADERGET_ARGV
- HEADERGET_DEFAULT
-
..
- HEADERGET_EXT
- HEADERGET_RAW
- Log
- ProbFilter
- ProblemType
- RMIL_CMDLINE
- RMIL_DEFAULT
-
Markers for sources of macros added throughout rpm.
- RMIL_GLOBAL
- RMIL_MACROFILES
- RMIL_OLDSPEC
- RMIL_RPMRC
- RMIL_SPEC
- RMIL_TARBALL
- RPMLOG_PRIMASK
-
rpmlog
- Rc
- RegexpMode
- Sense
- Tag
- TagReturnType
- TagType
- TransFlags
Public Class Methods
Source
# File lib/rpm/c/rpmprob.rb, line 50 def self.rpmProblemCompare(a, b) raise NotImplementedError, "rpmProblemCompare is not present in librpm 4.8 and below" end
TODO: Implement this for librpm 4.8.
Source
# File lib/rpm/c/rpmtag.rb, line 301 def self.rpmTagGetReturnType(tag) TagReturnType[rpmTagGetType(tag) & TagReturnType[:mask_return_type]] end
Source
# File lib/rpm/c.rb, line 41 def self.rpm_version_code ver = ::RPM::C.RPMVERSION.split('.', 3) return (ver[0].to_i<<16) + (ver[1].to_i<<8) + (ver[2].to_i<<0) end