Skip to content

class Barista::Behaviors::Omnibus::Packagers::Rpm
inherits Barista::Behaviors::Omnibus::Packagers::Base #

Constants#

FILESYSTEM_LIST = Barista.project_file("/behaviors/omnibus/packagers/scripts/rpm/filesystem_list")#

SCRIPT_MAP = {:preinst => "pre", :postinst => "post", :prerm => "preun", :postrm => "postun", :pre => "pre", :post => "post", :preun => "preun", :postun => "postun", :verifyscript => "verifyscript", :pretrans => "pretrans", :posttrans => "posttrans"}#

SIGNING_TEMPLATE = Barista.project_file("/behaviors/omnibus/packagers/scripts/rpm/signing.hbs")#

SPEC_TEMPLATE = Barista.project_file("/behaviors/omnibus/packagers/scripts/rpm/spec.hbs")#

Constructors#

Class methods#

.supported? : Bool#

Methods#

#build : Nil#

#build_filepath(path)#

#category(val : String | Nil = nil)#

#compression#

#compression_level(val : Int32 | Nil = nil)#

#compression_type(val : Symbol | Nil = nil)#

#config_files#

#configure : Nil#

#create_rpm_file#

#dist_tag(val : String | Nil = nil)#

#filesystem_directories#

#id : Symbol#

#license(val : String | Nil = nil)#

#license(*args, **options)#

#license#

#list_files#

#mark_filesystem_directories(fsdir)#

#package_name#

#priority(val : String | Nil = nil)#

#query#

#rpm_file#

#rpm_safe(string)#

#safe_architecture#

#safe_version : String#

#signing_passphrase(val : Union(String, Nil) | Nil = nil)#

#spec_file#

#summary#

#supported? : Bool#

#vendor(val : String | Nil = nil)#

#with_rpm_signing : String#

Todo

Revisit when testing

#write_rpm_spec#