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@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 - 1.0.2-1 - Latest sources from upstream. -- Run tests in %%check * Fri Feb 03 2012 Vít Ondruch - 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