From: Jakub Bogusz Date: Sat, 10 Sep 2011 19:49:33 +0000 (+0000) Subject: - Provide json/rake/rubygems when building with batteries X-Git-Tag: auto/th/ruby-1_9_2_290-7~1 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fruby.git;a=commitdiff_plain;h=bc991d5a64761c4fcbc18e012447826c8107f7bf - Provide json/rake/rubygems when building with batteries Changed files: ruby.spec -> 1.231 --- diff --git a/ruby.spec b/ruby.spec index e4ece00..be9707d 100644 --- a/ruby.spec +++ b/ruby.spec @@ -1,8 +1,8 @@ # # Conditional build: -%bcond_without doc # skip (time-consuming) docs generating; intended for speed up test builds -%bcond_without emacs # skip building package with ruby-mode for emacs -%bcond_without tk # skip building package with Tk bindings +%bcond_without doc # skip (time-consuming) docs generating; intended for speed up test builds +%bcond_without emacs # skip building package with ruby-mode for emacs +%bcond_without tk # skip building package with Tk bindings %bcond_without batteries # Don't include rubygems, json or rake # %define ruby_ver 1.9 @@ -59,6 +59,10 @@ Obsoletes: ruby-REXML Obsoletes: ruby-doc < 1.8.4 Obsoletes: ruby-fastthread %if %{with batteries} +Provides: ruby-rake = %{rake_ver} +# which versions? +Provides: ruby-json +Provides: ruby-rubygems Obsoletes: ruby-json Obsoletes: ruby-rake Obsoletes: ruby-rubygems