Class FPM::Package::RPM
In: lib/fpm/package/rpm.rb
lib/fpm/package/rpm.rb
Parent: FPM::Package

RPM Package type.

Build RPMs without having to waste hours reading Maximum-RPM. Well, in case you want to read it, here: www.rpm.org/max-rpm/

The following attributes are supported:

  • :rpm_rpmbuild_define - an array of definitions to give to rpmbuild. These are used, verbatim, each as: —define ITEM

Methods

Constants

DIGEST_ALGORITHM_MAP = { "md5" => 1, "sha1" => 2, "sha256" => 8, "sha384" => 9, "sha512" => 10
COMPRESSION_MAP = { "none" => "w0.gzdio", "xz" => "w9.xzdio", "gzip" => "w9.gzdio", "bzip2" => "w9.bzdio"
DIGEST_ALGORITHM_MAP = { "md5" => 1, "sha1" => 2, "sha256" => 8, "sha384" => 9, "sha512" => 10
COMPRESSION_MAP = { "none" => "w0.gzdio", "xz" => "w9.xzdio", "gzip" => "w9.gzdio", "bzip2" => "w9.bzdio"

Public Instance methods

Handle any architecture naming conversions. For example, debian calls amd64 what redhat calls x86_64, this method fixes those types of things.

Handle any architecture naming conversions. For example, debian calls amd64 what redhat calls x86_64, this method fixes those types of things.

See FPM::Package#converted_from

See FPM::Package#converted_from

The default epoch value must be nil, see 381

The default epoch value must be nil, see 381

This method ensures a default value for iteration if none is provided.

This method ensures a default value for iteration if none is provided.

[Validate]