From 567fc1619e0d5bb8bf25d856ef867c6fa3f17a38 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Wed, 10 Jan 2024 04:11:55 +0300 Subject: [PATCH] import rubygem-cucumber-core-10.1.0-2.el9 --- .gitignore | 1 + .rubygem-cucumber-core.metadata | 1 + SPECS/rubygem-cucumber-core.spec | 149 +++++++++++++++++++++++++++++++ 3 files changed, 151 insertions(+) create mode 100644 .gitignore create mode 100644 .rubygem-cucumber-core.metadata create mode 100644 SPECS/rubygem-cucumber-core.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4b31bcf --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/cucumber-core-10.1.0.gem diff --git a/.rubygem-cucumber-core.metadata b/.rubygem-cucumber-core.metadata new file mode 100644 index 0000000..ec59cdf --- /dev/null +++ b/.rubygem-cucumber-core.metadata @@ -0,0 +1 @@ +7fd92f23f89f847781202c71b58cdada2c833a04 SOURCES/cucumber-core-10.1.0.gem diff --git a/SPECS/rubygem-cucumber-core.spec b/SPECS/rubygem-cucumber-core.spec new file mode 100644 index 0000000..f434dab --- /dev/null +++ b/SPECS/rubygem-cucumber-core.spec @@ -0,0 +1,149 @@ +# Generated from cucumber-core-1.4.0.gem by gem2rpm -*- rpm-spec -*- +%global gem_name cucumber-core + +Name: rubygem-%{gem_name} +Version: 10.1.0 +Release: 2%{?dist} +Summary: Core library for the Cucumber BDD app +License: MIT +URL: https://cucumber.io +Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem +BuildRequires: ruby(release) +BuildRequires: rubygems-devel +BuildRequires: ruby +BuildRequires: rubygem(cucumber-gherkin) +BuildRequires: rubygem(rspec) +BuildRequires: rubygem(kramdown-parser-gfm) +BuildRequires: rubygem(cucumber-tag-expressions) +BuildRequires: rubygem(cucumber-messages) +BuildRequires: rubygem(backports) +# BuildRequires: rubygem(unindent) +BuildArch: noarch + +%description +Core library for the Cucumber BDD app. + + +%package doc +Summary: Documentation for %{name} +Requires: %{name} = %{version}-%{release} +BuildArch: noarch + +%description doc +Documentation for %{name}. + +%prep +%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 +gem build ../%{gem_name}-%{version}.gemspec + +%gem_install + +%install +mkdir -p %{buildroot}%{gem_dir} +cp -a .%{gem_dir}/* \ + %{buildroot}%{gem_dir}/ + +%check +pushd .%{gem_instdir} + +# unindent is not available in Fedora => avoid the requires. +for file in $(grep -Rl unindent spec); do + sed -i "/require 'unindent'/ s/^/#/" "${file}" + sed -i '/^ *expect.*unindent$/ i \pending' "${file}" +done + +LANG=C.UTF-8 rspec -rkramdown/parser/gfm spec +popd + +%files +%dir %{gem_instdir} +%exclude %{gem_instdir}/.* +%license %{gem_instdir}/LICENSE +%{gem_libdir} +%exclude %{gem_cache} +%{gem_spec} + +%files doc +%doc %{gem_docdir} +%doc %{gem_instdir}/CONTRIBUTING.md +%doc %{gem_instdir}/README.md +%doc %{gem_instdir}/CHANGELOG.md +%{gem_instdir}/spec + +%changelog +* Wed Jan 10 2024 MSVSphere Packaging Team - 10.1.0-2 +- Rebuilt for MSVSphere 9.3 + +* Fri Jan 21 2022 Fedora Release Engineering - 10.1.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Mon Sep 20 2021 Jarek Prokop - 10.1.0-1 +- Update to cucumber-core 10.1.0. + +* Mon Sep 06 2021 Pavel Valena - 10.0.1-1 +- Update to cucumber-core 10.0.1. + Resolves: rhbz#1632225 + +* Fri Jul 23 2021 Fedora Release Engineering - 3.2.0-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Wed Jan 27 2021 Fedora Release Engineering - 3.2.0-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Mon Aug 24 2020 Vít Ondruch - 3.2.0-9 +- Relax rubygem(cucumber-tag_expressions) dependency. + Resolves: rhbz#1871619 + +* Tue Aug 11 2020 Vít Ondruch - 3.2.0-8 +- Fix warnings affecting cucumber-wire test suite. + Resolves: rhbz#1863722 + +* Tue Aug 11 10:13:05 GMT 2020 Vít Ondruch - 3.2.0-7 +- Add `BR: rubygem(kramdown-parser-gfm)` which was extrected into independency + package. + Resovles: rhbz#1863721 + +* Sat Aug 01 2020 Fedora Release Engineering - 3.2.0-6 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 3.2.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Thu Jan 30 2020 Fedora Release Engineering - 3.2.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Fri Jul 26 2019 Fedora Release Engineering - 3.2.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sat Feb 02 2019 Fedora Release Engineering - 3.2.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Thu Aug 23 2018 Jaroslav Prokop - 3.2.0-1 +- Update to Cucumber-core 3.2.0. + +* Sat Jul 14 2018 Fedora Release Engineering - 1.5.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Fri Feb 09 2018 Fedora Release Engineering - 1.5.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 1.5.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 1.5.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Thu Feb 02 2017 Jun Aruga - 1.5.0-2 +- Improve tests. + +* Fri Jan 20 2017 Vít Ondruch - 1.5.0-1 +- Update to cucumber-core 1.5.0. + +* Tue Apr 05 2016 Vít Ondruch - 1.4.0-1 +- Initial package