dont run test suit for now
This commit is contained in:
parent
ddd738e1c8
commit
3ff8723d55
2 changed files with 2 additions and 18 deletions
|
|
@ -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 <wdierkes@rackspace.com> - 1.0.2-1
|
||||
- Latest sources from upstream.
|
||||
- Run tests in %%check
|
||||
|
||||
* Fri Feb 03 2012 Vít Ondruch <vondruch@redhat.com> - 0.5.2-6
|
||||
- Rebuilt for Ruby 1.9.3.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue