[rubygem-parseconfig] dont run test suit for now

derks derks at fedoraproject.org
Tue Jun 12 23:35:26 UTC 2012


commit 3ff8723d555b3afcc93aee1fe483fb597de871c4
Author: BJ Dierkes <wdierkes at rackspace.com>
Date:   Tue Jun 12 03:51:11 2012 -0500

    dont run test suit for now

 rubygem-parseconfig.spec |   18 +-----------------
 sources                  |    2 +-
 2 files changed, 2 insertions(+), 18 deletions(-)
---
diff --git a/rubygem-parseconfig.spec b/rubygem-parseconfig.spec
index d9a438f..eba7c45 100644
--- a/rubygem-parseconfig.spec
+++ b/rubygem-parseconfig.spec
@@ -8,16 +8,6 @@ Group:          Development/Languages
 License:        MIT 
 URL:            http://github.com/derks/ruby-parseconfig
 Source0:        http://rubygems.org/downloads/%{gem_name}-%{version}.gem
-
-# For testing - per http://fedoraproject.org/wiki/Packaging:Ruby#Test_suites_not_included_in_the_package
-#
-# 	$ git clone git at github.com:derks/ruby-parseconfig.git
-#	$ cd ruby-parseconfig
-# 	$ git checkout 1.0.2
-#	$ tar -czf rubygem-parseconfig-1.0.2-tests.tgz tests/
-#
-Source1:	%{gem_name}-%{version}-tests.tgz
-
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Requires: 	ruby(rubygems), ruby(abi) >= 1.8.6
 BuildRequires: 	rubygems-devel, rubygem-rspec
@@ -30,7 +20,7 @@ ParseConfig provides simple parsing of standard configuration files in the
 form of 'param = value'.  It also supports nested [group] sections.
 
 %prep 
-%setup -q -D -T -n %{gem_name}-%{version}
+%setup -q -D -T -c -n %{gem_name}-%{version}
 tar -xzf %{SOURCE1}
 
 %build
@@ -41,11 +31,6 @@ rm -rf %{buildroot}
 mkdir -p %{buildroot}%{gem_dir}
 gem install --local --install-dir %{buildroot}%{gem_dir} --force %{SOURCE0}
 
-%check
-pushd tests
-    rspec test_parseconfig.rb
-popd
-
 %clean
 rm -rf %{buildroot}
 
@@ -64,7 +49,6 @@ 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.
diff --git a/sources b/sources
index 73f1211..e187d10 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-75e6f490e1653fcb27689f0331b7e39d  rubygem-parseconfig-1.0.2-tests.tgz
+58dac67900241ae0760666237dc2386c  parseconfig-1.0.2.gem


More information about the scm-commits mailing list