[packages/ruby-cucumber] Up to 10.2.0

arekm arekm at pld-linux.org
Thu Mar 19 00:36:27 CET 2026


commit 3b0f28d57696347b861085a8299472834dfc52c0
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Thu Mar 19 00:36:11 2026 +0100

    Up to 10.2.0

 ruby-cucumber.spec | 61 +++++++++++++++++++++++++++---------------------------
 1 file changed, 30 insertions(+), 31 deletions(-)
---
diff --git a/ruby-cucumber.spec b/ruby-cucumber.spec
index a4138ff..4309ce2 100644
--- a/ruby-cucumber.spec
+++ b/ruby-cucumber.spec
@@ -1,29 +1,34 @@
-# TODO
-# - patch rspec to integrate cucumber rules too in autotest/discover.rb
-%define	pkgname	cucumber
-Summary:	Tool to execute plain-text documents as functional tests
+%define pkgname cucumber
+Summary:	Behaviour Driven Development with elegance and joy
 Name:		ruby-%{pkgname}
-Version:	3.1.1
-Release:	2
+Version:	10.2.0
+Release:	1
 License:	MIT
 Group:		Development/Languages
-Source0:	http://rubygems.org/downloads/%{pkgname}-%{version}.gem
-# Source0-md5:	b0c91e941539278732beb68a972cb397
-URL:		http://cukes.info/
+Source0:	https://rubygems.org/downloads/%{pkgname}-%{version}.gem
+# Source0-md5:	19633670a53a456ca40aaa98ae39583e
+URL:		https://cucumber.io/
 BuildRequires:	rpm-rubyprov
-BuildRequires:	rpmbuild(macros) >= 1.656
+BuildRequires:	rpmbuild(macros) >= 1.665
 BuildRequires:	sed >= 4.0
-Requires:	ruby-builder >= 2.1.2
-Requires:	ruby-diff-lcs >= 1.1.3
-Requires:	ruby-gherkin < 2.12
-Requires:	ruby-gherkin >= 2.11.0
-Requires:	ruby-json >= 1.4.6
+Requires:	ruby-base64 >= 0.2
+Requires:	ruby-builder >= 3.2
+Requires:	ruby-cucumber-ci-environment >= 9
+Requires:	ruby-cucumber-ci-environment < 12
+Requires:	ruby-cucumber-core >= 15
+Requires:	ruby-cucumber-core < 17
+Requires:	ruby-cucumber-cucumber-expressions >= 17
+Requires:	ruby-cucumber-cucumber-expressions < 20
+Requires:	ruby-cucumber-html-formatter >= 21
+Requires:	ruby-cucumber-html-formatter < 23
+Requires:	ruby-diff-lcs >= 1.5
+Requires:	ruby-logger >= 1.6
+Requires:	ruby-mini_mime >= 1.1
+Requires:	ruby-multi_test >= 1.1
+Requires:	ruby-sys-uname >= 1.3
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-# do not generate python dependency, py_support is optional
-%define		_noautoreqfiles %{ruby_vendorlibdir}/cucumber/py_support
-
 %description
 Cucumber lets software development teams describe how software should
 behave in plain text. The text is written in a business-readable
@@ -34,29 +39,23 @@ and development-aid.
 %setup -q -n %{pkgname}-%{version}
 %{__sed} -i -e '1 s,#!.*ruby,#!%{__ruby},' bin/*
 
+%build
+%__gem_helper spec
+
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{ruby_vendorlibdir},%{_bindir}}
+install -d $RPM_BUILD_ROOT{%{ruby_vendorlibdir},%{_bindir},%{ruby_specdir}}
 cp -a lib/* $RPM_BUILD_ROOT%{ruby_vendorlibdir}
 cp -a bin/* $RPM_BUILD_ROOT%{_bindir}
+cp -p %{pkgname}-%{version}.gemspec $RPM_BUILD_ROOT%{ruby_specdir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc README.md CHANGELOG.md LICENSE
+%doc README.md
 %attr(755,root,root) %{_bindir}/cucumber
 %{ruby_vendorlibdir}/cucumber.rb
 %{ruby_vendorlibdir}/cucumber
-
-%dir %{ruby_vendorlibdir}/autotest
-%{ruby_vendorlibdir}/autotest/cucumber.rb
-%{ruby_vendorlibdir}/autotest/cucumber_mixin.rb
-%{ruby_vendorlibdir}/autotest/cucumber_rails.rb
-%{ruby_vendorlibdir}/autotest/cucumber_rails_rspec.rb
-%{ruby_vendorlibdir}/autotest/cucumber_rails_rspec2.rb
-%{ruby_vendorlibdir}/autotest/cucumber_rspec.rb
-%{ruby_vendorlibdir}/autotest/cucumber_rspec2.rb
-%{ruby_vendorlibdir}/autotest/discover.rb
-%{ruby_vendorlibdir}/simplecov_setup.rb
+%{ruby_specdir}/%{pkgname}-%{version}.gemspec
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ruby-cucumber.git/commitdiff/3b0f28d57696347b861085a8299472834dfc52c0



More information about the pld-cvs-commit mailing list