Fixed gem ~> version operator translated to rpm require. #193

Merged
merged 1 commit into from Apr 1, 2012

Conversation

Projects
None yet
2 participants
@antoncohen
Contributor

antoncohen commented Apr 1, 2012

In gem specs > is a Pessimistic Version Consrtaint that is inclusive
on the bottom end. E.g., '
> 2.2' means '>= 2.2.0 and < 3.0'.

I changed the translation to RPM spec to be >= and <. It was > and <.

http://docs.rubygems.org/read/chapter/16
http://docs.fedoraproject.org/en-US/Fedora_Draft_Documentation/0.1/html/RPM_Guide/ch-advanced-packaging.html

Fixed gem ~> version operator translated to rpm require.
In gem specs ~> is a Pessimistic Version Consrtaint that is inclusive
on the bottom end. E.g., '~> 2.2' means '>= 2.2.0 and < 3.0'.

I changed the translation to RPM spec to be >= and <. It was > and <.

http://docs.rubygems.org/read/chapter/16
http://docs.fedoraproject.org/en-US/Fedora_Draft_Documentation/0.1/html/RPM_Guide/ch-advanced-packaging.html
@jordansissel

This comment has been minimized.

Show comment
Hide comment
@jordansissel

jordansissel Apr 1, 2012

Owner

LGTM. Thanks for this fix :)

Owner

jordansissel commented Apr 1, 2012

LGTM. Thanks for this fix :)

jordansissel added a commit that referenced this pull request Apr 1, 2012

Merge pull request #193 from antoncohen/antoncohen/gemrpmdep
Fixed gem ~> version operator translated to rpm require.

@jordansissel jordansissel merged commit 918e8c9 into jordansissel:master Apr 1, 2012

prof-milki pushed a commit to prof-milki/xpm that referenced this pull request Dec 18, 2014

jls
Merge pull request #193 from antoncohen/antoncohen/gemrpmdep
Fixed gem ~> version operator translated to rpm require.

prof-milki pushed a commit to prof-milki/xpm that referenced this pull request Dec 27, 2014

Merge pull request #193 from antoncohen/antoncohen/gemrpmdep
Fixed gem ~> version operator translated to rpm require.

jordansissel added a commit that referenced this pull request Apr 24, 2015

Merge pull request #193 from antoncohen/antoncohen/gemrpmdep
Fixed gem ~> version operator translated to rpm require.

jordansissel added a commit that referenced this pull request Jun 20, 2016

Merge pull request #193 from antoncohen/antoncohen/gemrpmdep
Fixed gem ~> version operator translated to rpm require.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment