From 9ad13026de7fc8ced5e069da929166d67e96dbc899e9a61c13f440b85adfcc96 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Tue, 4 Jun 2013 17:05:13 +0000 Subject: [PATCH] - use --force for update-alternatives OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby?expand=0&rev=59 --- ruby.changes | 5 +++++ ruby.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ruby.changes b/ruby.changes index 3602219..e8713ff 100644 --- a/ruby.changes +++ b/ruby.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jun 4 17:04:50 UTC 2013 - coolo@suse.com + +- use --force for update-alternatives + ------------------------------------------------------------------- Sat Apr 27 16:25:12 UTC 2013 - coolo@suse.com diff --git a/ruby.spec b/ruby.spec index 470be26..06e8ab5 100644 --- a/ruby.spec +++ b/ruby.spec @@ -94,7 +94,7 @@ install -D -m 0644 %{S:2} $RPM_BUILD_ROOT/etc/gemrc %post for bin in erb gem irb rake rdoc ri ruby testrb; do - /usr/sbin/update-alternatives --install \ + /usr/sbin/update-alternatives --force --install \ %{_bindir}/$bin $bin %{_bindir}/$bin"2.0" 20 done