Fix FTBFS: change the way the specs are run
This commit is contained in:
parent
8dba3f48ce
commit
ebe2236c7b
@ -7,7 +7,7 @@
|
||||
Summary: Provide a list of changes between two sequenced collections
|
||||
Name: rubygem-%{gem_name}
|
||||
Version: 1.2.5
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
Group: Development/Languages
|
||||
#lib/diff/lcs.rb is Artistic or Ruby or BSD
|
||||
#lib/diff/lcs/*.rb is GPLv2+ or Artistic or Ruby or BSD
|
||||
@ -71,7 +71,8 @@ pushd .%{gem_instdir}
|
||||
# https://github.com/halostatue/diff-lcs/issues/1
|
||||
sed -i '/Diff::LCS.patch(s1, diff_s1_s2).should == s2/ s/^/#/' spec/issues_spec.rb
|
||||
|
||||
rspec spec
|
||||
# https://github.com/halostatue/diff-lcs/issues/33
|
||||
rspec -rdiff/lcs -rdiff/lcs/hunk spec
|
||||
popd
|
||||
%endif
|
||||
|
||||
@ -100,6 +101,9 @@ popd
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Aug 28 2015 Josef Stribny <jstribny@redhat.com> - 1.2.5-4
|
||||
- Fix FTBFS: change the way the specs are run
|
||||
|
||||
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.5-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user