[rubygem-parseconfig] run tests in check

derks derks at fedoraproject.org
Tue Jun 12 22:51:14 UTC 2012


commit 96b28dd744fba8c4f378093c3c1f2400e6373c1b
Author: BJ Dierkes <wdierkes at rackspace.com>
Date:   Tue Jun 12 03:03:17 2012 -0500

    run tests in check

 rubygem-parseconfig.spec |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/rubygem-parseconfig.spec b/rubygem-parseconfig.spec
index 8c3ed34..d6d4fe3 100644
--- a/rubygem-parseconfig.spec
+++ b/rubygem-parseconfig.spec
@@ -10,7 +10,7 @@ URL:            http://github.com/derks/ruby-parseconfig
 Source0:        http://rubygems.org/downloads/%{gem_name}-%{version}.gem
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Requires: 	ruby(rubygems), ruby(abi) >= 1.8.7
-BuildRequires: 	rubygems-devel
+BuildRequires: 	rubygems-devel, rubygem-rspec
 BuildRequires: 	ruby-devel
 BuildArch:      noarch
 Provides:       rubygem(%{gem_name}) = %{version}
@@ -29,6 +29,9 @@ rm -rf %{buildroot}
 mkdir -p %{buildroot}%{gem_dir}
 gem install --local --install-dir %{buildroot}%{gem_dir} --force %{SOURCE0}
 
+%check
+bash utils/run-tests.sh
+
 %clean
 rm -rf %{buildroot}
 
@@ -47,6 +50,7 @@ rm -rf %{buildroot}
 %changelog
 * Tue Jun 12 2012 BJ Dierkes <wdierkes at rackspace.com> - 1.0.2-1
 - Latest sources from upstream.
+- Run tests in %%check
 
 * Fri Feb 03 2012 Vít Ondruch <vondruch at redhat.com> - 0.5.2-6
 - Rebuilt for Ruby 1.9.3.


More information about the scm-commits mailing list