|
|
@ -2,22 +2,19 @@
|
|
|
|
%global gem_name cucumber-core
|
|
|
|
%global gem_name cucumber-core
|
|
|
|
|
|
|
|
|
|
|
|
Name: rubygem-%{gem_name}
|
|
|
|
Name: rubygem-%{gem_name}
|
|
|
|
Version: 10.0.1
|
|
|
|
Version: 10.1.0
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Core library for the Cucumber BDD app
|
|
|
|
Summary: Core library for the Cucumber BDD app
|
|
|
|
License: MIT
|
|
|
|
License: MIT
|
|
|
|
URL: https://cucumber.io
|
|
|
|
URL: https://cucumber.io
|
|
|
|
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
|
|
|
|
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
|
|
|
|
# git clone --no-checkout https://github.com/cucumber/cucumber-ruby-core.git
|
|
|
|
|
|
|
|
# git -C cucumber-ruby-core archive -v -o rubygem-cucumber-core-10.0.1-spec.txz v10.0.1 spec/
|
|
|
|
|
|
|
|
Source1: %{name}-%{version}-spec.txz
|
|
|
|
|
|
|
|
BuildRequires: ruby(release)
|
|
|
|
BuildRequires: ruby(release)
|
|
|
|
BuildRequires: rubygems-devel
|
|
|
|
BuildRequires: rubygems-devel
|
|
|
|
BuildRequires: ruby
|
|
|
|
BuildRequires: ruby
|
|
|
|
BuildRequires: rubygem(gherkin)
|
|
|
|
BuildRequires: rubygem(cucumber-gherkin)
|
|
|
|
BuildRequires: rubygem(rspec)
|
|
|
|
BuildRequires: rubygem(rspec)
|
|
|
|
BuildRequires: rubygem(kramdown-parser-gfm)
|
|
|
|
BuildRequires: rubygem(kramdown-parser-gfm)
|
|
|
|
BuildRequires: rubygem(cucumber-tag_expressions)
|
|
|
|
BuildRequires: rubygem(cucumber-tag-expressions)
|
|
|
|
BuildRequires: rubygem(cucumber-messages)
|
|
|
|
BuildRequires: rubygem(cucumber-messages)
|
|
|
|
BuildRequires: rubygem(backports)
|
|
|
|
BuildRequires: rubygem(backports)
|
|
|
|
# BuildRequires: rubygem(unindent)
|
|
|
|
# BuildRequires: rubygem(unindent)
|
|
|
@ -36,7 +33,10 @@ BuildArch: noarch
|
|
|
|
Documentation for %{name}.
|
|
|
|
Documentation for %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{gem_name}-%{version} -b 1
|
|
|
|
%setup -q -n %{gem_name}-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%gemspec_remove_dep -g cucumber-messages "~> 17.1", ">= 17.1.1"
|
|
|
|
|
|
|
|
%gemspec_add_dep -g cucumber-messages ">= 17.0"
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
gem build ../%{gem_name}-%{version}.gemspec
|
|
|
|
gem build ../%{gem_name}-%{version}.gemspec
|
|
|
@ -50,7 +50,6 @@ cp -a .%{gem_dir}/* \
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
pushd .%{gem_instdir}
|
|
|
|
pushd .%{gem_instdir}
|
|
|
|
ln -s %{_builddir}/spec spec
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# unindent is not available in Fedora => avoid the requires.
|
|
|
|
# unindent is not available in Fedora => avoid the requires.
|
|
|
|
for file in $(grep -Rl unindent spec); do
|
|
|
|
for file in $(grep -Rl unindent spec); do
|
|
|
@ -74,8 +73,12 @@ popd
|
|
|
|
%doc %{gem_instdir}/CONTRIBUTING.md
|
|
|
|
%doc %{gem_instdir}/CONTRIBUTING.md
|
|
|
|
%doc %{gem_instdir}/README.md
|
|
|
|
%doc %{gem_instdir}/README.md
|
|
|
|
%doc %{gem_instdir}/CHANGELOG.md
|
|
|
|
%doc %{gem_instdir}/CHANGELOG.md
|
|
|
|
|
|
|
|
%{gem_instdir}/spec
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Mon Sep 20 2021 Jarek Prokop <jprokop@redhat.com> - 10.1.0-1
|
|
|
|
|
|
|
|
- Update to cucumber-core 10.1.0.
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Sep 06 2021 Pavel Valena <pvalena@redhat.com> - 10.0.1-1
|
|
|
|
* Mon Sep 06 2021 Pavel Valena <pvalena@redhat.com> - 10.0.1-1
|
|
|
|
- Update to cucumber-core 10.0.1.
|
|
|
|
- Update to cucumber-core 10.0.1.
|
|
|
|
Resolves: rhbz#1632225
|
|
|
|
Resolves: rhbz#1632225
|
|
|
|