%global gem_name rspec-its Name: rubygem-%{gem_name} Version: 1.3.1 Release: 1%{?dist} Summary: Provides "its" method formerly part of rspec-core License: MIT URL: https://github.com/rspec/rspec-its Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem # Ruby 3.4 changes backticks to single quotes, which breaks test suite. # https://github.com/rspec/rspec-its/pull/96 Patch0: rubygem-cucumber-1.3.1-Ruby-3-4-replaces-initial-backtick-by-single-quote.patch BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: ruby BuildRequires: rubygem(cucumber) BuildRequires: rubygem(aruba) BuildRequires: rubygem(rspec-core) BuildRequires: rubygem(rspec-expectations) BuildRequires: rubygem(matrix) BuildArch: noarch %description RSpec extension gem for attribute matching. %package doc Summary: Documentation for %{name} Requires: %{name} = %{version}-%{release} BuildArch: noarch %description doc Documentation for %{name}. %prep %setup -q -n %{gem_name}-%{version} %patch 0 -p1 %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} rspec spec export RUBYOPT="-I${PWD}/lib" # Exclude the pre RSpec 3.9 test cases. cucumber --tags 'not @pre-3-9' popd %files %dir %{gem_instdir} %exclude %{gem_instdir}/.* %license %{gem_instdir}/LICENSE.txt %{gem_libdir} %exclude %{gem_cache} %{gem_spec} %files doc %doc %{gem_docdir} %doc %{gem_instdir}/Changelog.md %{gem_instdir}/Gemfile %doc %{gem_instdir}/README.md %{gem_instdir}/Rakefile %{gem_instdir}/features %{gem_instdir}/rspec-its.gemspec %{gem_instdir}/script %{gem_instdir}/spec %changelog * Fri Nov 01 2024 Vít Ondruch - 1.3.1-1 - Update to rspec-its 1.3.1. Resolves: rhbz#2321250 - Use single quotes in tests to fix Ruby 3.4 compatibility. * Fri Jul 19 2024 Fedora Release Engineering - 1.3.0-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jan 26 2024 Fedora Release Engineering - 1.3.0-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 1.3.0-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri Jan 20 2023 Fedora Release Engineering - 1.3.0-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Jul 23 2022 Fedora Release Engineering - 1.3.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Feb 1 2022 Mamoru TASAKA - 1.3.0-8 - BR: rubygem(aruba) for F-36 (ruby31) * Fri Jan 21 2022 Fedora Release Engineering - 1.3.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 1.3.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Jan 27 2021 Fedora Release Engineering - 1.3.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 1.3.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Fri Feb 07 2020 Vít Ondruch - 1.3.0-3 - Fix RSpec 3.9 compatibility to fix FTBFS (rhbz#1800030). * Thu Jan 30 2020 Fedora Release Engineering - 1.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Mon Jul 15 2019 Pavel Valena - 1.3.0-1 - Update to rspec-its 1.3.0. * Sat Feb 02 2019 Fedora Release Engineering - 1.2.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Jul 14 2018 Fedora Release Engineering - 1.2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Feb 09 2018 Fedora Release Engineering - 1.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Tue Sep 12 2017 Pavel Valena - 1.2.0-1 - Update to 1.2.0. * Thu Jul 27 2017 Fedora Release Engineering - 1.1.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 1.1.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Feb 04 2016 Fedora Release Engineering - 1.1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 1.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Tue Dec 09 2014 Ken Dreyer - 1.1.0-1 - Update to rspec-its 1.1.0 (RHBZ #1168743) - Correct %%license file (RHBZ #1168743) - Remove f19 and f20 dist conditionals, since we'll only ship on f22 and later. (RHBZ #1168743) * Thu Nov 27 2014 Ken Dreyer - 1.0.1-2 - Initial package