[rubygem-regin] Updated to Regin 0.3.8.

Vít Ondruch vondruch at fedoraproject.org
Wed Apr 6 12:51:17 UTC 2011


commit 43ee606e42b795f781cace6ccc3020cd3c8e3d6c
Author: Vít Ondruch <vondruch at redhat.com>
Date:   Wed Apr 6 14:51:01 2011 +0200

    Updated to Regin 0.3.8.

 rubygem-regin.spec |   16 +++++++++++-----
 1 files changed, 11 insertions(+), 5 deletions(-)
---
diff --git a/rubygem-regin.spec b/rubygem-regin.spec
index 9e4372d..2502cc4 100644
--- a/rubygem-regin.spec
+++ b/rubygem-regin.spec
@@ -5,13 +5,13 @@
 
 Summary: Ruby Regexp Introspection
 Name: rubygem-%{gemname}
-Version: 0.3.7
-Release: 3%{?dist}
+Version: 0.3.8
+Release: 1%{?dist}
 Group: Development/Languages
 License: MIT
 URL: http://github.com/josh/%{gemname}
 Source0: http://rubygems.org/gems/%{gemname}-%{version}.gem
-# git clone https://github.com/josh/regin.git && cd regin && git checkout v0.3.7
+# git clone https://github.com/josh/regin.git && cd regin && git checkout v0.3.8
 # tar czvf regin-tests.tgz spec/
 Source1: %{gemname}-tests.tgz
 Requires: ruby(abi) = %{rubyabi}
@@ -19,7 +19,8 @@ Requires: rubygems
 Requires: ruby
 BuildRequires: rubygems
 BuildRequires: ruby
-BuildRequires: rubygem(rspec)
+# Use rspec-core until rspec are not migrated to RSpec 2.x
+BuildRequires: rubygem(rspec-core)
 BuildArch: noarch
 Provides: rubygem(%{gemname}) = %{version}
 
@@ -50,9 +51,11 @@ gem install --local --install-dir %{buildroot}%{gemdir} \
 %check
 mkdir %{_tmppath}/%{gemname}-%{version}
 tar xzvf %{SOURCE1} -C %{_tmppath}/%{gemname}-%{version}
+
 pushd %{_tmppath}/%{gemname}-%{version}
-ruby -I%{buildroot}%{geminstdir}/lib `which spec` spec
+RUBYOPT="-I%{buildroot}%{geminstdir}/lib" rspec spec/
 popd
+
 rm -rf %{_tmppath}/%{gemname}-%{version}
 
 %files
@@ -70,6 +73,9 @@ rm -rf %{_tmppath}/%{gemname}-%{version}
 
 
 %changelog
+* Wed Apr 06 2011 Vít Ondruch <vondruch at redhat.com> - 0.3.8-1
+- Updated to Regin 0.3.8
+
 * Wed Feb 09 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.3.7-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 


More information about the scm-commits mailing list