20
0

- add coffee-rails-4.0.0.diff to fix rpm requires

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-coffee-rails?expand=0&rev=6
This commit is contained in:
Stephan Kulow
2013-07-20 11:22:33 +00:00
committed by Git OBS Bridge
parent 9186732256
commit e1f5234dc7
3 changed files with 30 additions and 3 deletions
+5
View File
@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Jul 20 11:22:04 UTC 2013 - coolo@suse.com
- add coffee-rails-4.0.0.diff to fix rpm requires
-------------------------------------------------------------------
Sat Apr 27 05:40:46 UTC 2013 - coolo@suse.com
+5 -3
View File
@@ -26,6 +26,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: ruby-macros >= 1
Url: https://github.com/rails/coffee-rails
Source: http://rubygems.org/gems/%{mod_full_name}.gem
# MANUAL
Patch0: coffee-rails-4.0.0.diff
Summary: CoffeeScript adapter for the Rails asset pipeline
License: MIT
Group: Development/Languages/Ruby
@@ -51,9 +53,9 @@ Requires: %{name} = %{version}
Test::Unit or RSpec files, useful for developers.
%prep
#gem_unpack
#if you need patches, apply them here and replace the # with a % sign in the surrounding lines
#gem_build
%gem_unpack
%patch0 -p0
%gem_build
%build
+20
View File
@@ -0,0 +1,20 @@
--- coffee-rails-4.0.0.gemspec.orig 2013-07-20 13:20:16.575275978 +0200
+++ coffee-rails-4.0.0.gemspec 2013-07-20 13:20:32.102482925 +0200
@@ -23,14 +23,14 @@
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
s.add_runtime_dependency(%q<coffee-script>, [">= 2.2.0"])
- s.add_runtime_dependency(%q<railties>, ["< 5.0", ">= 4.0.0.beta"])
+ s.add_runtime_dependency(%q<railties>, ["< 5.0", ">= 4.0.0"])
else
s.add_dependency(%q<coffee-script>, [">= 2.2.0"])
- s.add_dependency(%q<railties>, ["< 5.0", ">= 4.0.0.beta"])
+ s.add_dependency(%q<railties>, ["< 5.0", ">= 4.0.0"])
end
else
s.add_dependency(%q<coffee-script>, [">= 2.2.0"])
- s.add_dependency(%q<railties>, ["< 5.0", ">= 4.0.0.beta"])
+ s.add_dependency(%q<railties>, ["< 5.0", ">= 4.0.0"])
end
end