|
|
|
@ -1,9 +1,9 @@
|
|
|
|
|
%global majorver 3.7.0
|
|
|
|
|
%global majorver 3.10.1
|
|
|
|
|
#%%global preminorver .rc6
|
|
|
|
|
%global rpmminorver .%(echo %preminorver | sed -e 's|^\\.\\.*||')
|
|
|
|
|
%global fullver %{majorver}%{?preminorver}
|
|
|
|
|
|
|
|
|
|
%global fedorarel 4
|
|
|
|
|
%global fedorarel 1
|
|
|
|
|
|
|
|
|
|
%global gem_name rspec-expectations
|
|
|
|
|
|
|
|
|
@ -14,25 +14,22 @@
|
|
|
|
|
Summary: RSpec expectations (should and matchers)
|
|
|
|
|
Name: rubygem-%{gem_name}
|
|
|
|
|
Version: %{majorver}
|
|
|
|
|
Release: %{?preminorver:0.}%{fedorarel}%{?preminorver:%{rpmminorver}}%{?dist}
|
|
|
|
|
Release: %{?preminorver:0.}%{fedorarel}%{?preminorver:%{rpmminorver}}%{?dist}.3
|
|
|
|
|
|
|
|
|
|
Group: Development/Languages
|
|
|
|
|
License: MIT
|
|
|
|
|
URL: http://github.com/rspec/rspec-expectations
|
|
|
|
|
Source0: https://rubygems.org/gems/%{gem_name}-%{fullver}.gem
|
|
|
|
|
# %%{SOURCE2} %%{name} %%{version}
|
|
|
|
|
# %%{SOURCE2} %%{name} %%{version}
|
|
|
|
|
Source1: rubygem-%{gem_name}-%{version}-full.tar.gz
|
|
|
|
|
Source2: rspec-related-create-full-tarball.sh
|
|
|
|
|
# https://github.com/rspec/rspec-expectations/pull/1037
|
|
|
|
|
# https://github.com/rspec/rspec-expectations/commit/5999ad46df4782a3136c4bad0c2353daede2cbbd.patch
|
|
|
|
|
Patch1: rspec-expectations-3.7.0-aggregator-ruby25.patch
|
|
|
|
|
|
|
|
|
|
#BuildRequires: ruby(release)
|
|
|
|
|
BuildRequires: rubygems-devel
|
|
|
|
|
%if 0%{?need_bootstrap_set} < 1
|
|
|
|
|
BuildRequires: rubygem(rspec)
|
|
|
|
|
# Some features in expectations needs this
|
|
|
|
|
BuildRequires: rubygem(rspec-support) >= 3.9.3
|
|
|
|
|
BuildRequires: rubygem(minitest) >= 5
|
|
|
|
|
BuildRequires: rubygem(rake)
|
|
|
|
|
BuildRequires: git
|
|
|
|
|
%endif
|
|
|
|
|
BuildArch: noarch
|
|
|
|
@ -43,7 +40,6 @@ RSpec::Matchers, a library of standard matchers.
|
|
|
|
|
|
|
|
|
|
%package doc
|
|
|
|
|
Summary: Documentation for %{name}
|
|
|
|
|
Group: Documentation
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description doc
|
|
|
|
@ -52,7 +48,6 @@ This package contains documentation for %{name}.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -T -n %{gem_name}-%{version} -b 1
|
|
|
|
|
%patch1 -p1
|
|
|
|
|
|
|
|
|
|
gem specification %{SOURCE0} -l --ruby > %{gem_name}.gemspec
|
|
|
|
|
|
|
|
|
@ -70,7 +65,7 @@ rm -f %{buildroot}%{gem_instdir}/{.document,.yardopts}
|
|
|
|
|
|
|
|
|
|
%if 0%{?need_bootstrap_set} < 1
|
|
|
|
|
%check
|
|
|
|
|
LANG=en_US.UTF-8
|
|
|
|
|
LANG=C.UTF-8
|
|
|
|
|
ruby -rrubygems -Ilib/ -S rspec spec/
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
@ -90,11 +85,70 @@ ruby -rrubygems -Ilib/ -S rspec spec/
|
|
|
|
|
%{gem_docdir}
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Dec 07 2023 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 3.7.0-4
|
|
|
|
|
- Rebuilt for MSVSphere 8.8
|
|
|
|
|
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 3.10.1-1.3
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
* Thu Jul 12 2018 Jun Aruga <jaruga@redhat.com> - 3.7.0-4
|
|
|
|
|
- Fix FTBFS by adding build dependency for RHEL.
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 3.10.1-1.2
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
* 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
|
|
|
|
|
|
|
|
|
|
* Tue Dec 29 2020 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.10.1-1
|
|
|
|
|
- 3.10.1
|
|
|
|
|
|
|
|
|
|
* 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
|
|
|
|
|
|
|
|
|
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.9.2-1.1
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sat May 9 2020 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.9.2-1
|
|
|
|
|
- 3.9.2
|
|
|
|
|
|
|
|
|
|
* Sun Apr 19 2020 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.9.1-1
|
|
|
|
|
- 3.9.1
|
|
|
|
|
|
|
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.9.0-2.1
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Dec 10 2019 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.9.0-2
|
|
|
|
|
- Enable tests again
|
|
|
|
|
|
|
|
|
|
* Tue Dec 10 2019 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.9.0-0.1
|
|
|
|
|
- 3.9.0
|
|
|
|
|
- Once disable test for bootstrap
|
|
|
|
|
|
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.8.4-1.1
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jun 21 2019 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.8.4-1
|
|
|
|
|
- 3.8.4
|
|
|
|
|
|
|
|
|
|
* Wed Apr 24 2019 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.8.3-1
|
|
|
|
|
- 3.8.3
|
|
|
|
|
|
|
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.8.2-1.1
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Dec 13 2018 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.8.2-1
|
|
|
|
|
- Enable tests again
|
|
|
|
|
|
|
|
|
|
* Wed Dec 12 2018 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.8.2-0.1
|
|
|
|
|
- 3.8.2
|
|
|
|
|
- Once disable test for bootstrap
|
|
|
|
|
|
|
|
|
|
* Sun Nov 18 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 3.7.0-3.2
|
|
|
|
|
- Use C.UTF-8 locale
|
|
|
|
|
See https://fedoraproject.org/wiki/Changes/Remove_glibc-langpacks-all_from_buildroot
|
|
|
|
|
|
|
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.0-3.1
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Feb 14 2018 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.7.0-3
|
|
|
|
|
- Backport upstream patch to fix test failure on ruby 25
|
|
|
|
@ -201,7 +255,7 @@ ruby -rrubygems -Ilib/ -S rspec spec/
|
|
|
|
|
- 2.14.4
|
|
|
|
|
|
|
|
|
|
* Fri Sep 27 2013 Mamoru TASAKA <mtasaka@fedoraproject.org> - 2.14.3-1
|
|
|
|
|
- 2.14.3
|
|
|
|
|
- 2.14.3
|
|
|
|
|
|
|
|
|
|
* Fri Aug 16 2013 Mamoru TASAKA <mtasaka@fedoraproject.org> - 2.14.2-2
|
|
|
|
|
- Enable test suite again
|
|
|
|
|