|
|
@ -3,7 +3,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
Name: rubygem-%{gem_name}
|
|
|
|
Name: rubygem-%{gem_name}
|
|
|
|
Version: 1.5.0
|
|
|
|
Version: 1.5.0
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Summary: Core library for the Cucumber BDD app
|
|
|
|
Summary: Core library for the Cucumber BDD app
|
|
|
|
Group: Development/Languages
|
|
|
|
Group: Development/Languages
|
|
|
|
License: MIT
|
|
|
|
License: MIT
|
|
|
@ -51,11 +51,15 @@ cp -a .%{gem_dir}/* \
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
pushd .%{gem_instdir}
|
|
|
|
pushd .%{gem_instdir}
|
|
|
|
# unindent is not available in Fedora => avoid the requires and expect some
|
|
|
|
# unindent is not available in Fedora => avoid the requires.
|
|
|
|
# errors.
|
|
|
|
for file in $(grep -Rl unindent spec); do
|
|
|
|
grep -Rl unindent spec | xargs sed -i "/require 'unindent'/ s/^/#/"
|
|
|
|
sed -i "/require 'unindent'/ s/^/#/" "${file}"
|
|
|
|
|
|
|
|
sed -i '/^ *expect.*unindent$/ i \pending' "${file}"
|
|
|
|
LANG=C.UTF-8 rspec spec | grep '317 examples, 14 failures'
|
|
|
|
done
|
|
|
|
|
|
|
|
sed -i '/^ *expect_tag_excess/ i \pending' \
|
|
|
|
|
|
|
|
spec/cucumber/core_spec.rb
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
LANG=C.UTF-8 rspec spec
|
|
|
|
popd
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
@ -78,6 +82,9 @@ popd
|
|
|
|
%{gem_instdir}/spec
|
|
|
|
%{gem_instdir}/spec
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Thu Feb 02 2017 Jun Aruga <jaruga@redhat.com> - 1.5.0-2
|
|
|
|
|
|
|
|
- Improve tests.
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jan 20 2017 Vít Ondruch <vondruch@redhat.com> - 1.5.0-1
|
|
|
|
* Fri Jan 20 2017 Vít Ondruch <vondruch@redhat.com> - 1.5.0-1
|
|
|
|
- Update to cucumber-core 1.5.0.
|
|
|
|
- Update to cucumber-core 1.5.0.
|
|
|
|
|
|
|
|
|
|
|
|