|
|
|
@ -1,20 +1,21 @@
|
|
|
|
|
%global gem_name rspec-support
|
|
|
|
|
|
|
|
|
|
%global mainver 3.10.2
|
|
|
|
|
%global mainver 3.13.0
|
|
|
|
|
%undefine prever
|
|
|
|
|
|
|
|
|
|
%global mainrel 1
|
|
|
|
|
%global baserelease 3
|
|
|
|
|
%global prerpmver %(echo "%{?prever}" | sed -e 's|\\.||g')
|
|
|
|
|
|
|
|
|
|
%global need_bootstrap_set 0
|
|
|
|
|
%bcond_with bootstrap
|
|
|
|
|
|
|
|
|
|
%undefine __brp_mangle_shebangs
|
|
|
|
|
|
|
|
|
|
Name: rubygem-%{gem_name}
|
|
|
|
|
Version: %{mainver}
|
|
|
|
|
Release: %{?prever:0.}%{mainrel}%{?prever:.%{prerpmver}}%{?dist}.2
|
|
|
|
|
Release: %{?prever:0.}%{baserelease}%{?prever:.%{prerpmver}}%{?dist}
|
|
|
|
|
|
|
|
|
|
Summary: Common functionality to Rspec series
|
|
|
|
|
# SPDX confirmed
|
|
|
|
|
License: MIT
|
|
|
|
|
URL: https://github.com/rspec/rspec-support
|
|
|
|
|
Source0: https://rubygems.org/gems/%{gem_name}-%{mainver}%{?prever}.gem
|
|
|
|
@ -26,10 +27,13 @@ Patch100: rubygem-rspec-support-3.2.1-callerfilter-searchpath-regex.patch
|
|
|
|
|
|
|
|
|
|
#BuildRequires: ruby(release)
|
|
|
|
|
BuildRequires: rubygems-devel
|
|
|
|
|
%if 0%{?need_bootstrap_set} < 1
|
|
|
|
|
%if %{without bootstrap}
|
|
|
|
|
BuildRequires: rubygem(rspec)
|
|
|
|
|
BuildRequires: rubygem(thread_order)
|
|
|
|
|
BuildRequires: rubygem(bigdecimal)
|
|
|
|
|
# spec/rspec/support/spec/shell_out_spec.rb -> lib/rspec/support/spec/library_wide_checks.rb
|
|
|
|
|
# -> rake (%%check)
|
|
|
|
|
BuildRequires: rubygem(rake)
|
|
|
|
|
BuildRequires: git
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
@ -55,7 +59,7 @@ Documentation for %{name}
|
|
|
|
|
%setup -q -T -n %{gem_name}-%{version} -b 1
|
|
|
|
|
gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec
|
|
|
|
|
|
|
|
|
|
%patch100 -p1
|
|
|
|
|
%patch -P100 -p1
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
gem build %{gem_name}.gemspec
|
|
|
|
@ -66,8 +70,8 @@ mkdir -p %{buildroot}%{gem_dir}
|
|
|
|
|
cp -pa .%{gem_dir}/* \
|
|
|
|
|
%{buildroot}%{gem_dir}/
|
|
|
|
|
|
|
|
|
|
%if 0%{?need_bootstrap_set} < 1
|
|
|
|
|
%check
|
|
|
|
|
%if %{without bootstrap}
|
|
|
|
|
# UTF-8 is needed
|
|
|
|
|
LANG=C.UTF-8
|
|
|
|
|
|
|
|
|
@ -85,8 +89,8 @@ for ((i = 0; i < ${#FAILFILE[@]}; i++)) {
|
|
|
|
|
${FAILFILE[$i]}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
ruby -rrubygems -Ilib/ -S rspec spec/ || \
|
|
|
|
|
ruby -rrubygems -Ilib/ -S rspec --tag ~broken
|
|
|
|
|
export RUBYLIB=$(pwd)/lib
|
|
|
|
|
rspec spec/ || rspec --tag ~broken
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
@ -103,12 +107,57 @@ ruby -rrubygems -Ilib/ -S rspec spec/ || \
|
|
|
|
|
%doc %{gem_docdir}
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 3.10.2-1.2
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 3.13.0-3
|
|
|
|
|
- Bump release for October 2024 mass rebuild:
|
|
|
|
|
Resolves: RHEL-64018
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 3.10.2-1.1
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 3.13.0-2
|
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Feb 09 2024 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.13.0-1
|
|
|
|
|
- 3.13.0
|
|
|
|
|
|
|
|
|
|
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.12.1-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.12.1-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sat Jul 1 2023 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.12.1-1
|
|
|
|
|
- 3.12.1
|
|
|
|
|
|
|
|
|
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.12.0-3.1
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sun Dec 11 2022 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.12.0-3
|
|
|
|
|
- Backport upstrem patch for pending broken test with ruby >= 3.1.3
|
|
|
|
|
|
|
|
|
|
* Fri Dec 2 2022 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.12.0-2
|
|
|
|
|
- Pull upstream patch (under review) for ruby filer deadlock treatment
|
|
|
|
|
|
|
|
|
|
* Thu Oct 27 2022 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.12.0-1
|
|
|
|
|
- 3.12.0
|
|
|
|
|
|
|
|
|
|
* Thu Sep 15 2022 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.11.1-1
|
|
|
|
|
- 3.11.1
|
|
|
|
|
|
|
|
|
|
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.11.0-1.1
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Feb 10 2022 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.11.0-1
|
|
|
|
|
- 3.11.0
|
|
|
|
|
|
|
|
|
|
* Sat Jan 29 2022 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.10.3-2
|
|
|
|
|
- BR: rubygem(rake) for %%check
|
|
|
|
|
|
|
|
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.10.3-1.1
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Nov 4 2021 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.10.3-1
|
|
|
|
|
- 3.10.3
|
|
|
|
|
|
|
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.10.2-1.1
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Feb 1 2021 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.10.2-1
|
|
|
|
|
- 3.10.2
|
|
|
|
|