Class Gem2Rpm::RpmFileList
In: lib/gem2rpm/rpm_file_list.rb
Parent: Object

Methods

Included Modules

Enumerable

Public Class methods

Returns a new file list created from the array of files (e.g. Gem2Rpm::Specification.files).

Public Instance methods

Returns new list of files suitable for -doc subpackage.

Calls the given block once for each element in self, passing that element as a parameter. Returns the array itself. If no block is given, an Enumerator is returned.

Returns new list of files suitable for main.

Returns a new array containing the items in self for which the given block is not true. The ordering of non-rejected elements is maintained. If no block is given, an Enumerator is returned instead.

Returns string with all files from the list converted into entries suitable for RPM .spec file. Thise entries should include all necessary macros depending on file categorization.

Returns a list of top level directories and files, omit all subdirectories.

[Validate]