Fix FTBFS: Run tests with RSpec2 bin

epel9
Josef Stribny 10 years ago
parent cd76bcc383
commit 0aa7764c08

@ -4,14 +4,14 @@
Summary: A simple and reliable gem for controlling external programs Summary: A simple and reliable gem for controlling external programs
Name: rubygem-%{gem_name} Name: rubygem-%{gem_name}
Version: 0.5.3 Version: 0.5.3
Release: 2%{?dist} Release: 3%{?dist}
Group: Development/Languages Group: Development/Languages
License: MIT License: MIT
URL: http://github.com/jarib/childprocess URL: http://github.com/jarib/childprocess
Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
BuildRequires: rubygems-devel BuildRequires: rubygems-devel
BuildRequires: rubygem(rspec) >= 2.0.0 BuildRequires: rubygem(rspec) >= 2.0.0
BuildRequires: rubygem(coveralls) #BuildRequires: rubygem(coveralls)
BuildArch: noarch BuildArch: noarch
%description %description
@ -49,7 +49,9 @@ chmod 644 %{buildroot}%{gem_instdir}/spec/*.rb
%check %check
pushd .%{gem_instdir} pushd .%{gem_instdir}
rspec spec # Get rid of coverall dependency
sed -i -e '5,6d' spec/spec_helper.rb
rspec2 spec
popd popd
@ -68,6 +70,9 @@ popd
%changelog %changelog
* Thu Aug 06 2015 Josef Stribny <jstribny@redhat.com> - 0.5.3-3
- Fix FTBFS: Run tests with RSpec2 bin
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.3-2 * Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild

Loading…
Cancel
Save