2014-03-18 11:14:22 +00:00
|
|
|
%global gem_name rspec-support
|
|
|
|
|
2021-11-04 05:17:48 +00:00
|
|
|
%global mainver 3.10.3
|
2014-08-14 08:57:28 +00:00
|
|
|
%undefine prever
|
2014-03-18 11:14:22 +00:00
|
|
|
|
2022-01-29 14:37:26 +00:00
|
|
|
%global mainrel 2
|
2014-03-18 11:14:22 +00:00
|
|
|
%global prerpmver %(echo "%{?prever}" | sed -e 's|\\.||g')
|
|
|
|
|
2020-12-11 06:16:20 +00:00
|
|
|
%global need_bootstrap_set 0
|
2014-03-18 11:14:22 +00:00
|
|
|
|
2018-02-09 04:58:32 +00:00
|
|
|
%undefine __brp_mangle_shebangs
|
|
|
|
|
2014-03-18 11:14:22 +00:00
|
|
|
Name: rubygem-%{gem_name}
|
|
|
|
Version: %{mainver}
|
2022-01-21 19:11:44 +00:00
|
|
|
Release: %{?prever:0.}%{mainrel}%{?prever:.%{prerpmver}}%{?dist}.1
|
2014-03-18 11:14:22 +00:00
|
|
|
|
|
|
|
Summary: Common functionality to Rspec series
|
|
|
|
License: MIT
|
|
|
|
URL: https://github.com/rspec/rspec-support
|
|
|
|
Source0: https://rubygems.org/gems/%{gem_name}-%{mainver}%{?prever}.gem
|
2018-11-18 21:43:28 +00:00
|
|
|
# %%{SOURCE2} %%{name} %%{version}
|
2014-11-10 07:37:38 +00:00
|
|
|
Source1: rubygem-%{gem_name}-%{version}-full.tar.gz
|
|
|
|
Source2: rspec-related-create-full-tarball.sh
|
|
|
|
# tweak regex for search path
|
2019-02-05 03:45:35 +00:00
|
|
|
Patch100: rubygem-rspec-support-3.2.1-callerfilter-searchpath-regex.patch
|
2014-11-10 07:37:38 +00:00
|
|
|
|
2015-12-08 07:22:00 +00:00
|
|
|
#BuildRequires: ruby(release)
|
2014-03-18 11:14:22 +00:00
|
|
|
BuildRequires: rubygems-devel
|
2014-11-10 07:37:38 +00:00
|
|
|
%if 0%{?need_bootstrap_set} < 1
|
|
|
|
BuildRequires: rubygem(rspec)
|
2015-12-08 07:22:00 +00:00
|
|
|
BuildRequires: rubygem(thread_order)
|
2016-07-23 16:21:21 +00:00
|
|
|
BuildRequires: rubygem(bigdecimal)
|
2022-01-29 14:37:26 +00:00
|
|
|
# spec/rspec/support/spec/shell_out_spec.rb -> lib/rspec/support/spec/library_wide_checks.rb
|
|
|
|
# -> rake (%%check)
|
|
|
|
BuildRequires: rubygem(rake)
|
2015-08-02 12:15:01 +00:00
|
|
|
BuildRequires: git
|
2014-11-10 07:37:38 +00:00
|
|
|
%endif
|
2014-03-18 11:14:22 +00:00
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description
|
|
|
|
`RSpec::Support` provides common functionality to `RSpec::Core`,
|
|
|
|
`RSpec::Expectations` and `RSpec::Mocks`. It is considered
|
|
|
|
suitable for internal use only at this time.
|
|
|
|
|
|
|
|
%package doc
|
|
|
|
Summary: Documentation for %{name}
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description doc
|
|
|
|
Documentation for %{name}
|
|
|
|
|
|
|
|
%global version_orig %{version}
|
|
|
|
%global version %{version_orig}%{?prever}
|
|
|
|
|
|
|
|
%prep
|
2017-02-21 07:38:10 +00:00
|
|
|
%setup -q -T -n %{gem_name}-%{version} -b 1
|
2014-03-18 11:14:22 +00:00
|
|
|
gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec
|
|
|
|
|
2019-02-05 03:45:35 +00:00
|
|
|
%patch100 -p1
|
2014-11-10 07:37:38 +00:00
|
|
|
|
2014-03-18 11:14:22 +00:00
|
|
|
%build
|
|
|
|
gem build %{gem_name}.gemspec
|
|
|
|
%gem_install
|
|
|
|
|
|
|
|
%install
|
|
|
|
mkdir -p %{buildroot}%{gem_dir}
|
|
|
|
cp -pa .%{gem_dir}/* \
|
|
|
|
%{buildroot}%{gem_dir}/
|
|
|
|
|
2014-11-10 07:37:38 +00:00
|
|
|
%if 0%{?need_bootstrap_set} < 1
|
|
|
|
%check
|
2021-02-01 06:20:07 +00:00
|
|
|
# UTF-8 is needed
|
2018-11-18 21:43:28 +00:00
|
|
|
LANG=C.UTF-8
|
2017-02-03 15:59:32 +00:00
|
|
|
|
2015-12-08 07:22:00 +00:00
|
|
|
# Test failure needs investigation...
|
|
|
|
FAILFILE=()
|
|
|
|
FAILTEST=()
|
2016-07-23 15:47:46 +00:00
|
|
|
%if 0
|
2015-12-08 07:22:00 +00:00
|
|
|
FAILFILE+=("spec/rspec/support/differ_spec.rb")
|
|
|
|
FAILTEST+=("copes with encoded strings")
|
2016-07-23 15:47:46 +00:00
|
|
|
%endif
|
2015-12-08 07:22:00 +00:00
|
|
|
|
|
|
|
for ((i = 0; i < ${#FAILFILE[@]}; i++)) {
|
|
|
|
sed -i \
|
|
|
|
-e "\@${FAILTEST[$i]}@s|do$|, :broken => true do|" \
|
|
|
|
${FAILFILE[$i]}
|
|
|
|
}
|
|
|
|
|
2018-02-09 05:23:56 +00:00
|
|
|
ruby -rrubygems -Ilib/ -S rspec spec/ || \
|
|
|
|
ruby -rrubygems -Ilib/ -S rspec --tag ~broken
|
2014-11-10 07:37:38 +00:00
|
|
|
%endif
|
2014-03-18 11:14:22 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%dir %{gem_instdir}
|
2015-12-08 07:22:00 +00:00
|
|
|
%license %{gem_instdir}/LICENSE.md
|
2014-08-14 08:57:28 +00:00
|
|
|
%doc %{gem_instdir}/Changelog.md
|
|
|
|
%doc %{gem_instdir}/README.md
|
2014-03-18 11:14:22 +00:00
|
|
|
|
|
|
|
%{gem_libdir}
|
|
|
|
%exclude %{gem_cache}
|
|
|
|
%{gem_spec}
|
|
|
|
|
|
|
|
%files doc
|
|
|
|
%doc %{gem_docdir}
|
|
|
|
|
2020-12-11 06:16:20 +00:00
|
|
|
%changelog
|
2022-01-29 14:37:26 +00:00
|
|
|
* Sat Jan 29 2022 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.10.3-2
|
|
|
|
- BR: rubygem(rake) for %%check
|
|
|
|
|
2022-01-21 19:11:44 +00:00
|
|
|
* 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
|
|
|
|
|
2021-11-04 05:17:48 +00:00
|
|
|
* Thu Nov 4 2021 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.10.3-1
|
|
|
|
- 3.10.3
|
|
|
|
|
2021-07-23 12:38:21 +00:00
|
|
|
* 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
|
|
|
|
|
2021-02-01 06:20:07 +00:00
|
|
|
* Mon Feb 1 2021 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.10.2-1
|
|
|
|
- 3.10.2
|
|
|
|
|
2021-01-27 16:26:45 +00:00
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.10.1-1.1
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-12-29 05:38:30 +00:00
|
|
|
* Tue Dec 29 2020 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.10.1-1
|
|
|
|
- 3.10.1
|
|
|
|
|
2020-12-11 05:42:20 +00:00
|
|
|
* Fri Dec 11 2020 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.10.0-1
|
|
|
|
- Enable tests again
|
|
|
|
|
|
|
|
* Fri Dec 11 2020 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.10.0-0.1
|
|
|
|
- 3.10.0
|
|
|
|
- Once disable test for bootstrap
|
|
|
|
|
2020-07-29 07:01:06 +00:00
|
|
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.9.3-1.1
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-05-03 05:19:03 +00:00
|
|
|
* Sun May 3 2020 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.9.3-1
|
|
|
|
- 3.9.3
|
|
|
|
|
|
|
|
|
2020-01-30 19:18:36 +00:00
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.9.2-1.1
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2020-05-03 05:19:03 +00:00
|
|
|
* Mon Dec 30 2019 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.9.2-1
|
2019-12-30 13:19:01 +00:00
|
|
|
- 3.9.2
|
|
|
|
|
2020-05-03 05:19:03 +00:00
|
|
|
* Mon Dec 30 2019 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.9.1-1
|
2019-12-30 02:15:29 +00:00
|
|
|
- 3.9.1
|
|
|
|
|
2020-05-03 05:19:03 +00:00
|
|
|
* Tue Dec 10 2019 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.9.0-2
|
2019-12-10 06:52:58 +00:00
|
|
|
- Enable tests again
|
|
|
|
|
2020-05-03 05:19:03 +00:00
|
|
|
* Tue Dec 10 2019 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.9.0-0.1
|
2019-12-10 05:59:55 +00:00
|
|
|
- 3.9.0
|
|
|
|
- Once disable test for bootstrap
|
|
|
|
|
2019-07-26 20:03:46 +00:00
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.8.2-1.1
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-06-21 07:06:37 +00:00
|
|
|
* Fri Jun 21 2019 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.8.2-1
|
|
|
|
- 3.8.2
|
|
|
|
|
2019-02-05 03:45:35 +00:00
|
|
|
* Tue Feb 5 2019 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.8.0-2
|
|
|
|
- Backport upstream patch for ruby 2.6 changes
|
|
|
|
|
2019-02-02 12:57:55 +00:00
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.8.0-1.1
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-12-13 05:53:08 +00:00
|
|
|
* Thu Dec 13 2018 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.8.0-1
|
|
|
|
- Enable tests again
|
|
|
|
|
2018-12-13 05:08:17 +00:00
|
|
|
* Wed Dec 12 2018 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.8.0-0.1
|
|
|
|
- 3.8.0
|
|
|
|
- Once disable test for bootstrap
|
|
|
|
|
2018-11-18 21:43:28 +00:00
|
|
|
* Sun Nov 18 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 3.7.1-1.2
|
|
|
|
- Use C.UTF-8 locale
|
|
|
|
See https://fedoraproject.org/wiki/Changes/Remove_glibc-langpacks-all_from_buildroot
|
|
|
|
|
2018-07-14 04:44:00 +00:00
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.1-1.1
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-02-09 04:58:32 +00:00
|
|
|
* Fri Feb 9 2018 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.7.1-1
|
|
|
|
- 3.7.1
|
|
|
|
|
2017-11-13 06:59:25 +00:00
|
|
|
* Mon Nov 13 2017 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.7.0-1
|
|
|
|
- Enable tests again
|
|
|
|
|
2017-11-13 06:49:19 +00:00
|
|
|
* Mon Nov 13 2017 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.7.0-0.1
|
|
|
|
- 3.7.0
|
|
|
|
- Once disable tests
|
|
|
|
|
2017-07-27 17:45:17 +00:00
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.6.0-1.1
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-05-06 14:41:29 +00:00
|
|
|
* Sat May 6 2017 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.6.0-1
|
|
|
|
- Enable tests again
|
|
|
|
|
2017-05-06 13:15:52 +00:00
|
|
|
* Sat May 6 2017 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.6.0-0.1
|
|
|
|
- 3.6.0
|
|
|
|
- Once disable tests
|
|
|
|
|
2017-02-21 07:38:10 +00:00
|
|
|
* Tue Feb 21 2017 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.5.0-3
|
|
|
|
- Always use full tar.gz for installed files and
|
|
|
|
keep using gem file for gem spec (ref: bug 1425220)
|
|
|
|
|
2017-02-03 15:59:32 +00:00
|
|
|
* Fri Feb 03 2017 Jun Aruga <jaruga@redhat.com> - 3.5.0-2
|
|
|
|
- Fix for Ruby 2.4.0 compatibility.
|
|
|
|
|
2016-07-23 16:12:29 +00:00
|
|
|
* Sun Jul 24 2016 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.5.0-1
|
|
|
|
- Enable tests again
|
|
|
|
|
2016-07-23 15:47:46 +00:00
|
|
|
* Sat Jul 23 2016 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.5.0-0.1
|
|
|
|
- 3.5.0
|
|
|
|
- Once disable tests
|
|
|
|
|
2016-02-04 23:14:47 +00:00
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.1-2.1
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-12-08 08:24:26 +00:00
|
|
|
* Tue Dec 8 2015 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.4.1-2
|
|
|
|
- Enable tests again
|
|
|
|
|
2015-12-08 07:22:00 +00:00
|
|
|
* Tue Dec 8 2015 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.4.1-1
|
|
|
|
- 3.4.1
|
|
|
|
- Once disable tests
|
|
|
|
|
2015-08-02 11:40:53 +00:00
|
|
|
* Sun Aug 2 2015 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.3.0-2
|
|
|
|
- Enable tests again
|
|
|
|
|
2015-08-02 07:16:52 +00:00
|
|
|
* Sun Aug 2 2015 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.3.0-1
|
|
|
|
- 3.3.0
|
|
|
|
- Once disable tests
|
|
|
|
|
2015-06-18 23:49:19 +00:00
|
|
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.2-1.1
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-02-25 06:36:01 +00:00
|
|
|
* Wed Feb 25 2015 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.2.2-1
|
|
|
|
- 3.2.2
|
|
|
|
|
2015-02-09 02:20:14 +00:00
|
|
|
* Mon Feb 9 2015 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.2.1-2
|
|
|
|
- Enable tests again
|
|
|
|
|
2015-02-09 00:46:53 +00:00
|
|
|
* Mon Feb 9 2015 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.2.1-1
|
|
|
|
- 3.2.1
|
|
|
|
- Once disable tests
|
|
|
|
|
2014-11-10 11:47:32 +00:00
|
|
|
* Mon Nov 10 2014 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.1.2-3
|
|
|
|
- Enable tests again
|
|
|
|
|
2014-11-10 08:43:45 +00:00
|
|
|
* Mon Nov 10 2014 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.1.2-2
|
2014-11-10 09:00:53 +00:00
|
|
|
- Retry
|
2014-11-10 08:43:45 +00:00
|
|
|
|
2014-11-10 07:37:38 +00:00
|
|
|
* Mon Nov 10 2014 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.1.2-1
|
|
|
|
- 3.1.2
|
|
|
|
- Once disable tests
|
|
|
|
|
|
|
|
* Fri Aug 15 2014 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.0.4-1
|
|
|
|
- 3.0.4
|
|
|
|
|
2014-08-14 08:57:28 +00:00
|
|
|
* Thu Aug 14 2014 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.0.3-1
|
|
|
|
- 3.0.3
|
|
|
|
|
2014-06-08 05:16:18 +00:00
|
|
|
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.0-0.4.beta2.1
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-03-18 11:47:41 +00:00
|
|
|
* Tue Mar 18 2014 Mamoru TASAKA <mtasaka@tbz.t-com.ne.jp> - 3.0.0-0.4.beta1
|
2014-03-18 11:14:22 +00:00
|
|
|
- 3.0.0 beta 2
|
|
|
|
|
|
|
|
* Mon Feb 10 2014 Mamoru TASAKA <mtasaka@tbz.t-com.ne.jp> - 3.0.0-0.2.beta1
|
|
|
|
- Modify Provides EVR
|
|
|
|
|
|
|
|
* Mon Feb 03 2014 Mamoru TASAKA <mtasaka@tbz.t-com.ne.jp> - 3.0.0-0.1.beta1
|
|
|
|
- Initial package
|