From ff8d8b847c5355fbd029691a2fa3c12dd74eb637 Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: Mon, 2 Jan 2017 14:22:51 +0900 Subject: [PATCH] 0.14.2 --- .gitignore | 1 + rubygem-aruba.spec | 65 ++++++++++++++++++++++++++-------------------- sources | 2 +- 3 files changed, 39 insertions(+), 29 deletions(-) diff --git a/.gitignore b/.gitignore index 5a85bf9..5b934d6 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /aruba-0.5.4.gem /aruba-0.6.0.gem /aruba-0.6.2.gem +/aruba-0.14.2.gem diff --git a/rubygem-aruba.spec b/rubygem-aruba.spec index 1972b43..793a71f 100644 --- a/rubygem-aruba.spec +++ b/rubygem-aruba.spec @@ -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 - 0.14.2-1 +- 0.14.2 + * Thu Feb 04 2016 Fedora Release Engineering - 0.6.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild diff --git a/sources b/sources index 94fe793..0f9c54c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -73d755d4b8b149aab80b281b1c4d2c60 aruba-0.6.2.gem +SHA512 (aruba-0.14.2.gem) = 0a7c78500a75028ea4ac4ad79034248974fa1748ead9a7e49088e66f7d7458e6bf8f98047cc8e675b2bdf4b0fecca867e685cf0faa4a6f6bee764dda165ff060