summaryrefslogtreecommitdiffstats
path: root/rubygem-activerecord.spec
diff options
context:
space:
mode:
Diffstat (limited to 'rubygem-activerecord.spec')
-rw-r--r--rubygem-activerecord.spec6
1 files changed, 6 insertions, 0 deletions
diff --git a/rubygem-activerecord.spec b/rubygem-activerecord.spec
index 42261c3..02faf0b 100644
--- a/rubygem-activerecord.spec
+++ b/rubygem-activerecord.spec
@@ -35,6 +35,8 @@ Patch0: activerecord-rakefile-fix.patch
# dependency on a file in the greater rails proj
Patch1: activerecord-tests-fix.patch
+Patch2: activerecord-downgrade-dependencies.patch
+
Requires: ruby(abi) = %{rubyabi}
Requires: rubygems
Requires: rubygem(activesupport) = %{version}
@@ -82,6 +84,10 @@ pushd ./%{geminstdir}
%patch1 -p0
popd
+pushd .%{gemdir}
+%patch2 -p0
+popd
+
# Remove backup files
find ./%{geminstdir} -type f -name "*~" -delete