packages: ruby-activesupport2/ruby-activesupport2.spec, ruby-activesupport2...

baggins baggins at pld-linux.org
Fri Dec 9 14:36:04 CET 2011


Author: baggins                      Date: Fri Dec  9 13:36:04 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- rel 2
- fix incompatibility with ruby 1.9.3
  http://groups.google.com/group/rubyonrails-core/browse_thread/thread/81be70a119260e59

---- Files affected:
packages/ruby-activesupport2:
   ruby-activesupport2.spec (1.35 -> 1.36) , ruby-activesupport-ruby-1.9.3.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/ruby-activesupport2/ruby-activesupport2.spec
diff -u packages/ruby-activesupport2/ruby-activesupport2.spec:1.35 packages/ruby-activesupport2/ruby-activesupport2.spec:1.36
--- packages/ruby-activesupport2/ruby-activesupport2.spec:1.35	Fri Jul  8 11:39:49 2011
+++ packages/ruby-activesupport2/ruby-activesupport2.spec	Fri Dec  9 14:35:59 2011
@@ -3,12 +3,13 @@
 Summary:	Utility libraries for Ruby on Rails
 Name:		ruby-activesupport2
 Version:	2.3.11
-Release:	1
+Release:	2
 License:	Ruby-alike
 Group:		Development/Languages
 Source0:	http://rubygems.org/downloads/%{pkgname}-%{version}.gem
 # Source0-md5:	713edf8f82c8b0dfa61fedb489626c75
 Patch0:		ruby-activesupport-nogems.patch
+Patch1:		ruby-activesupport-ruby-1.9.3.patch
 URL:		http://rubyforge.org/projects/activesupport/
 BuildRequires:	rpmbuild(macros) >= 1.277
 BuildRequires:	ruby >= 1:1.8.6
@@ -65,6 +66,7 @@
 %{__tar} xf %{SOURCE0} -O data.tar.gz | %{__tar} xz
 find -newer README  -o -print | xargs touch --reference %{SOURCE0}
 %patch0 -p1
+%patch1 -p1
 
 %{__rm} -r lib/active_support/vendor*
 
@@ -114,6 +116,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.36  2011/12/09 13:35:59  baggins
+- rel 2
+- fix incompatibility with ruby 1.9.3
+  http://groups.google.com/group/rubyonrails-core/browse_thread/thread/81be70a119260e59
+
 Revision 1.35  2011/07/08 09:39:49  baggins
 - 2.3.11
 - thread patch applied upstream

================================================================
Index: packages/ruby-activesupport2/ruby-activesupport-ruby-1.9.3.patch
diff -u /dev/null packages/ruby-activesupport2/ruby-activesupport-ruby-1.9.3.patch:1.1
--- /dev/null	Fri Dec  9 14:36:04 2011
+++ packages/ruby-activesupport2/ruby-activesupport-ruby-1.9.3.patch	Fri Dec  9 14:35:59 2011
@@ -0,0 +1,10 @@
+--- ruby-activesupport2-2.3.11/lib/active_support/core_ext/load_error.rb~	2011-02-08 22:13:21.000000000 +0100
++++ ruby-activesupport2-2.3.11/lib/active_support/core_ext/load_error.rb	2011-12-09 14:34:32.686321193 +0100
+@@ -18,6 +18,7 @@
+   end
+ 
+   REGEXPS = [
++    [/^cannot load such file -- (.+)$/i, 1],
+     [/^no such file to load -- (.+)$/i, 1],
+     [/^Missing \w+ (file\s*)?([^\s]+.rb)$/i, 2],
+     [/^Missing API definition file in (.+)$/i, 1]
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ruby-activesupport2/ruby-activesupport2.spec?r1=1.35&r2=1.36&f=u



More information about the pld-cvs-commit mailing list