From bc991d5a64761c4fcbc18e012447826c8107f7bf Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Sat, 10 Sep 2011 19:49:33 +0000 Subject: [PATCH] - Provide json/rake/rubygems when building with batteries Changed files: ruby.spec -> 1.231 --- ruby.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) 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 -- 2.43.0