[rubygem-activeresource] Update to ActiveResource 3.2.7.

Vít Ondruch vondruch at fedoraproject.org
Mon Jul 30 12:26:13 UTC 2012


commit ae7e9182389bae867bd45ae50a77c046cd257166
Author: Vít Ondruch <vondruch at redhat.com>
Date:   Mon Jul 30 14:25:48 2012 +0200

    Update to ActiveResource 3.2.7.

 .gitignore                  |    2 ++
 rubygem-activeresource.spec |   24 +++++++++++-------------
 sources                     |    4 ++--
 3 files changed, 15 insertions(+), 15 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 2442d7f..f183e77 100644
--- a/.gitignore
+++ b/.gitignore
@@ -14,3 +14,5 @@ activeresource-2.3.5.gem
 /activeresource-3.0.15.gem
 /activeresource-3.2.6-tests.tgz
 /activeresource-3.2.6.gem
+/activeresource-3.2.7-tests.tgz
+/activeresource-3.2.7.gem
diff --git a/rubygem-activeresource.spec b/rubygem-activeresource.spec
index cded6c0..f18d5cd 100644
--- a/rubygem-activeresource.spec
+++ b/rubygem-activeresource.spec
@@ -6,8 +6,8 @@
 Summary: Active Record for web resources
 Name: rubygem-%{gem_name}
 Epoch: 1
-Version: 3.2.6
-Release: 2%{?dist}
+Version: 3.2.7
+Release: 1%{?dist}
 Group: Development/Languages
 License: MIT
 URL: http://www.rubyonrails.org
@@ -18,9 +18,9 @@ Source0: http://rubygems.org/downloads/activeresource-%{version}.gem
 # You may check it out like so
 # git clone http://github.com/rails/rails.git
 # cd rails/activeresource/
-# git checkout v3.2.6
-# tar czvf activeresource-3.2.6-tests.tgz test/
-Source2: activeresource-%{version}-tests.tgz
+# git checkout v3.2.7
+# tar czvf activeresource-3.2.7-tests.tgz test/
+Source1: activeresource-%{version}-tests.tgz
 
 # Let's keep Requires and BuildRequires sorted alphabeticaly
 Requires: ruby(abi) = %{rubyabi}
@@ -53,9 +53,6 @@ mkdir -p ./%{gem_dir}
 gem install --local --install-dir ./%{gem_dir} \
             --force --rdoc %{SOURCE0}
 
-# move the tests into place
-tar xzvf %{SOURCE2} -C .%{gem_instdir}
-
 %build
 
 %install
@@ -78,14 +75,13 @@ for file in `find %{buildroot}/%{gem_instdir} -type f ! -perm /a+x -name "*.rb"`
     [ ! -z "`head -n 1 $file | grep \"^#!/\"`" ] && chmod -v 755 $file
 done
 
-%clean
-rm -rf %{buildroot}
-
 %check
-pushd %{buildroot}%{gem_instdir}
+pushd .%{gem_instdir}
+tar xzvf %{SOURCE1}
 
 # load_path is not available, remove its require.
 sed -i '1,+1d' test/abstract_unit.rb
+
 ruby -Ilib:test -e "Dir.glob('./test/**/*_test.rb').each {|t| require t}"
 popd
 
@@ -101,9 +97,11 @@ popd
 %doc %{gem_instdir}/CHANGELOG.md
 %doc %{gem_instdir}/examples
 %doc %{gem_instdir}/README.rdoc
-%{gem_instdir}/test
 
 %changelog
+* Mon Jul 30 2012 Vít Ondruch <vondruch at redhat.com> - 1:3.2.7-1
+- Update to ActiveResource 3.2.7.
+
 * Tue Jul 24 2012 Vít Ondruch <vondruch at redhat.com> - 1:3.2.6-2
 - Fixed missing epoch in -doc subpackage.
 
diff --git a/sources b/sources
index 8854758..0b7c2b2 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-01a6ba7601aaf6b2f9cf8e9d36226324  activeresource-3.2.6-tests.tgz
-a63c515bae5d72f77d58660296f4398e  activeresource-3.2.6.gem
+b8f19c240bf0399f47cb403973df8326  activeresource-3.2.7-tests.tgz
+f8cdf995c859cce41304c3d6d7651c34  activeresource-3.2.7.gem


More information about the scm-commits mailing list