Skip to content
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

Obsoletes: header lines means youi cannot use yum to upgrade ruby #5

Open
ghost opened this issue Apr 14, 2015 · 2 comments
Open

Obsoletes: header lines means youi cannot use yum to upgrade ruby #5

ghost opened this issue Apr 14, 2015 · 2 comments

Comments

@ghost
Copy link

ghost commented Apr 14, 2015

The existence of the open-ended Obsoletes: header lines in this spec file means that you cannot use yum to upgrade the ruby package:

Obsoletes: ruby
Obsoletes: ruby-libs
Obsoletes: ruby-irb
Obsoletes: ruby-rdoc
Obsoletes: ruby-devel
Obsoletes: rubygems

Instead of doing this, please consider:

Obsoletes: ruby < %{rubyver}
Obsoletes: ruby-libs < %{rubyver}
Obsoletes: ruby-irb < %{rubyver}
Obsoletes: ruby-rdoc < %{rubyver}
Obsoletes: ruby-devel < %{rubyver}
Obsoletes: rubygems < %{rubyver}

Or maybe, even better...

%defile rubyabi 2.1
...
Obsoletes: ruby < %{rubyabi}
Obsoletes: ruby-libs < %{rubyabi}
Obsoletes: ruby-irb < %{rubyabi}
Obsoletes: ruby-rdoc < %{rubyabi}
Obsoletes: ruby-devel < %{rubyabi}
Obsoletes: rubygems < %{rubyabi}
@plentz
Copy link

plentz commented Sep 23, 2016

@masutaka @tjinjin ruby-rpm have the same problem. consider changing it please :)

@masutaka
Copy link

@plentz Thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants