|
|
|
@ -3,8 +3,8 @@
|
|
|
|
|
|
|
|
|
|
Summary: CLI Steps for Cucumber, hand-crafted for you in Aruba
|
|
|
|
|
Name: rubygem-%{gem_name}
|
|
|
|
|
Version: 0.6.2
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Version: 0.14.2
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Group: Development/Languages
|
|
|
|
|
# aruba itself is MIT
|
|
|
|
|
# icons in templates/images are CC-BY
|
|
|
|
@ -16,13 +16,15 @@ Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
|
|
|
|
|
BuildRequires: ruby(release)
|
|
|
|
|
BuildRequires: rubygems-devel
|
|
|
|
|
BuildRequires: ruby
|
|
|
|
|
BuildRequires: rubygem(cucumber) >= 1.1.1
|
|
|
|
|
BuildRequires: rubygem(childprocess) >= 0.2.0
|
|
|
|
|
%if 0%{?fedora} >= 22
|
|
|
|
|
BuildRequires: rubygem(cucumber) >= 1.3.19
|
|
|
|
|
BuildRequires: rubygem(childprocess) >= 0.5.6
|
|
|
|
|
BuildRequires: rubygem(ffi) >= 1.9.10
|
|
|
|
|
BuildRequires: rubygem(rspec) >= 3
|
|
|
|
|
%else
|
|
|
|
|
BuildRequires: rubygem(rspec)
|
|
|
|
|
%endif
|
|
|
|
|
BuildRequires: rubygem(contracts) >= 0.9
|
|
|
|
|
BuildRequires: rubygem(thor) >= 0.19
|
|
|
|
|
# For full %%check, the below is needed
|
|
|
|
|
# BuildRequires: rubygem(aruba-rspec)
|
|
|
|
|
# BuildRequires: rubygem(fuubar)
|
|
|
|
|
# used in one of the features
|
|
|
|
|
BuildRequires: bc
|
|
|
|
|
BuildArch: noarch
|
|
|
|
@ -46,13 +48,6 @@ Documentation for %{name}
|
|
|
|
|
%setup -q -c -T
|
|
|
|
|
%gem_install -n %{SOURCE0}
|
|
|
|
|
|
|
|
|
|
%if 0%{?fedora} < 23
|
|
|
|
|
pushd .%{gem_instdir}/
|
|
|
|
|
sed -i -e 's|:example|:each|' \
|
|
|
|
|
spec/aruba/api_spec.rb
|
|
|
|
|
popd
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
@ -60,36 +55,50 @@ mkdir -p %{buildroot}%{gem_dir}
|
|
|
|
|
cp -a .%{gem_dir}/* \
|
|
|
|
|
%{buildroot}%{gem_dir}/
|
|
|
|
|
|
|
|
|
|
rm -f %{buildroot}%{gem_cache}
|
|
|
|
|
pushd %{buildroot}%{gem_instdir}
|
|
|
|
|
rm -rf \
|
|
|
|
|
.[^.]* \
|
|
|
|
|
Gemfile \
|
|
|
|
|
Rakefile \
|
|
|
|
|
appveyor.yml \
|
|
|
|
|
%{gem_name}.gemspec \
|
|
|
|
|
cucumber.yml \
|
|
|
|
|
config/ \
|
|
|
|
|
fixtures/ \
|
|
|
|
|
spec/ \
|
|
|
|
|
script/ \
|
|
|
|
|
%{nil}
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
pushd .%{gem_instdir}
|
|
|
|
|
cucumber
|
|
|
|
|
rspec spec
|
|
|
|
|
cucumber || true
|
|
|
|
|
rspec spec || true
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%dir %{gem_instdir}
|
|
|
|
|
%doc %{gem_instdir}/LICENSE
|
|
|
|
|
%doc %{gem_instdir}/CONTRIBUTING.md
|
|
|
|
|
%doc %{gem_instdir}/README.md
|
|
|
|
|
%{gem_libdir}
|
|
|
|
|
%exclude %{gem_instdir}/.*
|
|
|
|
|
%{gem_instdir}/bin/
|
|
|
|
|
%exclude %{gem_instdir}/config
|
|
|
|
|
%exclude %{gem_cache}
|
|
|
|
|
%{gem_spec}
|
|
|
|
|
|
|
|
|
|
%files doc
|
|
|
|
|
%doc %{gem_docdir}
|
|
|
|
|
%doc %{gem_instdir}/CONTRIBUTING.md
|
|
|
|
|
%doc %{gem_instdir}/History.md
|
|
|
|
|
%doc %{gem_instdir}/README.md
|
|
|
|
|
%{gem_instdir}/Gemfile
|
|
|
|
|
%{gem_instdir}/Rakefile
|
|
|
|
|
%{gem_instdir}/%{gem_name}.gemspec
|
|
|
|
|
%{gem_instdir}/cucumber.yml
|
|
|
|
|
%{gem_instdir}/features
|
|
|
|
|
%{gem_instdir}/spec
|
|
|
|
|
%{gem_instdir}/templates
|
|
|
|
|
%doc %{gem_instdir}/TODO.md
|
|
|
|
|
%{gem_instdir}/doc/
|
|
|
|
|
%{gem_instdir}/features/
|
|
|
|
|
%{gem_instdir}/templates/
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Jan 2 2017 Mamoru TASAKA <mtasaka@fedoraproject.org> - 0.14.2-1
|
|
|
|
|
- 0.14.2
|
|
|
|
|
|
|
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.2-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|