diff --git a/.gitignore b/.gitignore index 3241f65..fd52bc6 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -/cucumber-wire-0.0.1.gem +/cucumber-wire-*.gem diff --git a/rubygem-cucumber-wire.spec b/rubygem-cucumber-wire.spec index 3d502ad..57e909b 100644 --- a/rubygem-cucumber-wire.spec +++ b/rubygem-cucumber-wire.spec @@ -1,22 +1,19 @@ # Generated from cucumber-wire-0.0.1.gem by gem2rpm -*- rpm-spec -*- %global gem_name cucumber-wire -%{?_with_bootstrap: %global bootstrap 1} +%bcond_without bootstrap Name: rubygem-%{gem_name} -Version: 0.0.1 -Release: 15%{?dist} +Version: 6.1.1 +Release: 1%{?dist} Summary: Wire protocol for Cucumber License: MIT URL: http://cucumber.io Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem -# Fix compatibility with Cucumber 3.1+ -# https://github.com/cucumber/cucumber-ruby-wire/pull/14 -Patch0: rubygem-cucumber-wire-0.0.1-Adapt-to-the-move-of-Location-to-Cucumber-Core-Test.patch BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: ruby -%if ! 0%{?bootstrap} +%if %{without bootstrap} # Dependencies for %%check BuildRequires: rubygem(aruba) BuildRequires: rubygem(cucumber) @@ -39,15 +36,8 @@ Documentation for %{name}. %prep %setup -q -n %{gem_name}-%{version} -%patch0 -p1 -%gemspec_add_file 'lib/cucumber/wire/step_argument.rb' - %build -# Create the gem as gem install only works on a gem file gem build ../%{gem_name}-%{version}.gemspec - -# %%gem_install compiles any C extensions and installs the gem into ./%%gem_dir -# by default, so that we can move it into the buildroot in %%install %gem_install %install @@ -56,7 +46,7 @@ cp -a .%{gem_dir}/* \ %{buildroot}%{gem_dir}/ -%if ! 0%{?bootstrap} +%if %{without bootstrap} %check pushd .%{gem_instdir} LANG=C.UTF-8 rspec spec @@ -73,17 +63,20 @@ popd %{gem_libdir} %exclude %{gem_cache} %{gem_spec} +%license %{gem_instdir}/LICENSE %files doc %doc %{gem_docdir} -%{gem_instdir}/Gemfile %doc %{gem_instdir}/README.md -%{gem_instdir}/Rakefile -%{gem_instdir}/cucumber-wire.gemspec -%{gem_instdir}/features +%doc %{gem_instdir}/CHANGELOG.md +%doc %{gem_instdir}/CONTRIBUTING.md %{gem_instdir}/spec %changelog +* Mon Sep 06 2021 Pavel Valena - 6.1.1-1 +- Update to cucumber-wire 6.1.1. + Resolves: rhbz#1867935 + * Fri Jul 23 2021 Fedora Release Engineering - 0.0.1-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild diff --git a/sources b/sources index 578323b..fad8bbd 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -875d967d513d5906214744a82409621c cucumber-wire-0.0.1.gem +SHA512 (cucumber-wire-6.1.1.gem) = 2f08d14170707930c2b6321232fe9398350ec1cc9e9a00ee174db058053fef4ec568f8a04247bf753c89d1e3430474a7ff25f84472d2dcd1ba3084f88c59d555