New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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.

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 jordansissel#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 jordansissel#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