Module Gem2Rpm::Helpers
In: lib/gem2rpm/helpers.rb

Methods

Public Class methods

Expands the pesimistic version operator ’~>’ into equivalent ’>=’ and ’<’ pair.

Converts Gem::Requirement into array of requirements strings compatible with RPM .spec file.

Taken with modification from the word_wrap method in ActionPack. Text::Format does the same thing better.

[Validate]