3.6.0
Once disable tests
This commit is contained in:
parent
4b99dec2b6
commit
3ec1cc766d
1
.gitignore
vendored
1
.gitignore
vendored
@ -26,3 +26,4 @@
|
||||
/rubygem-rspec-mocks-3.4.1-full.tar.gz
|
||||
/rspec-mocks-3.5.0.gem
|
||||
/rubygem-rspec-mocks-3.5.0-full.tar.gz
|
||||
/rspec-mocks-3.6.0.gem
|
||||
|
@ -1,18 +1,18 @@
|
||||
%global majorver 3.5.0
|
||||
%global majorver 3.6.0
|
||||
#%%global preminorver .rc6
|
||||
%global rpmminorver .%(echo %preminorver | sed -e 's|^\\.\\.*||')
|
||||
%global fullver %{majorver}%{?preminorver}
|
||||
|
||||
%global fedorarel 2
|
||||
%global fedorarel 0.1
|
||||
|
||||
%global gem_name rspec-mocks
|
||||
|
||||
%global need_bootstrap_set 0
|
||||
%global need_bootstrap_set 1
|
||||
|
||||
Summary: RSpec's 'test double' framework (mocks and stubs)
|
||||
Name: rubygem-%{gem_name}
|
||||
Version: %{majorver}
|
||||
Release: %{?preminorver:0.}%{fedorarel}%{?preminorver:%{rpmminorver}}%{?dist}.1
|
||||
Release: %{?preminorver:0.}%{fedorarel}%{?preminorver:%{rpmminorver}}%{?dist}
|
||||
|
||||
Group: Development/Languages
|
||||
License: MIT
|
||||
@ -21,9 +21,6 @@ Source0: https://rubygems.org/gems/%{gem_name}-%{fullver}.gem
|
||||
# %%{SOURCE2} %%{name} %%{version}
|
||||
Source1: rubygem-%{gem_name}-%{version}-full.tar.gz
|
||||
Source2: rspec-related-create-full-tarball.sh
|
||||
# Fix Ruby 2.4 compatibility.
|
||||
# https://github.com/rspec/rspec-mocks/commit/1f7f4175e4f185d1a989dca0e8cd8bc6e6d4555f
|
||||
Patch0: rspec-mocks-3.5.0-Address-Ruby-2.4-Fixnum-changes.patch
|
||||
|
||||
#BuildRequires: ruby(release)
|
||||
BuildRequires: rubygems-devel
|
||||
@ -50,14 +47,10 @@ This package contains documentation for %{name}.
|
||||
%prep
|
||||
gem unpack %{SOURCE0}
|
||||
|
||||
%setup -q -D -T -n %{gem_name}-%{version} -a 1
|
||||
%setup -q -D -T -n %{gem_name}-%{version} -b 1
|
||||
|
||||
gem specification %{SOURCE0} -l --ruby > %{gem_name}.gemspec
|
||||
|
||||
pushd %{gem_name}-%{version}
|
||||
%patch0 -p1
|
||||
popd
|
||||
|
||||
%build
|
||||
gem build %{gem_name}.gemspec
|
||||
%gem_install
|
||||
@ -72,13 +65,9 @@ rm -f %{buildroot}%{gem_instdir}/{.document,.yardopts}
|
||||
|
||||
%if 0%{?need_bootstrap_set} < 1
|
||||
%check
|
||||
pushd %{gem_name}-%{version}
|
||||
|
||||
# library_wide_checks.rb needs UTF-8
|
||||
LANG=en_US.utf8
|
||||
ruby -rubygems -Ilib/ -S rspec spec/
|
||||
|
||||
popd
|
||||
%endif
|
||||
|
||||
%files
|
||||
@ -97,6 +86,10 @@ popd
|
||||
%{gem_docdir}
|
||||
|
||||
%changelog
|
||||
* Sat May 6 2017 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.6.0-0.1
|
||||
- 3.6.0
|
||||
- Once disable tests
|
||||
|
||||
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.0-2.1
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
|
3
sources
3
sources
@ -1,2 +1 @@
|
||||
56c920c147a369c58d2f9367c9797714 rspec-mocks-3.5.0.gem
|
||||
c59ea9dd2062606fd648adf4c899a128 rubygem-rspec-mocks-3.5.0-full.tar.gz
|
||||
SHA512 (rspec-mocks-3.6.0.gem) = de78b0df9dc769773176ab0991a3890980ae981aae153ad76830db3941f0e670080ed33f8fa1aac94d9fecb9c55b1804abfb0eac096641bdf9d5ec4677485480
|
||||
|
Loading…
Reference in New Issue
Block a user