Mamoru TASAKA 8 years ago
parent 5ae2b8c613
commit ff8d8b847c

1
.gitignore vendored

@ -3,3 +3,4 @@
/aruba-0.5.4.gem
/aruba-0.6.0.gem
/aruba-0.6.2.gem
/aruba-0.14.2.gem

@ -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

@ -1 +1 @@
73d755d4b8b149aab80b281b1c4d2c60 aruba-0.6.2.gem
SHA512 (aruba-0.14.2.gem) = 0a7c78500a75028ea4ac4ad79034248974fa1748ead9a7e49088e66f7d7458e6bf8f98047cc8e675b2bdf4b0fecca867e685cf0faa4a6f6bee764dda165ff060

Loading…
Cancel
Save