Once disable tests
This commit is contained in:
Mamoru TASAKA 2017-05-06 22:15:29 +09:00
parent 5bc032a68b
commit d9c234e4f7
3 changed files with 10 additions and 11 deletions

1
.gitignore vendored
View File

@ -22,3 +22,4 @@
/rubygem-rspec-expectations-3.4.0-full.tar.gz
/rspec-expectations-3.5.0.gem
/rubygem-rspec-expectations-3.5.0-full.tar.gz
/rspec-expectations-3.6.0.gem

View File

@ -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 3
%global fedorarel 0.1
%global gem_name rspec-expectations
%global need_bootstrap_set 0
%global need_bootstrap_set 1
Summary: RSpec expectations (should and matchers)
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-expectations/commit/2b04f95cf585720f80da56c2785bee65812f15a0
Patch0: rspec-expectations-3.5.0-Address-Fixnum-changes-in-Ruby-2.4.patch
#BuildRequires: ruby(release)
BuildRequires: rubygems-devel
@ -51,8 +48,6 @@ This package contains documentation for %{name}.
%setup -q -T -n %{gem_name}-%{version} -b 1
gem specification %{SOURCE0} -l --ruby > %{gem_name}.gemspec
%patch0 -p1
%build
gem build %{gem_name}.gemspec
%gem_install
@ -87,6 +82,10 @@ ruby -rubygems -Ilib/ -S rspec spec/
%{gem_docdir}
%changelog
* Sat May 6 2017 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.6.0-0.1
- 3.6.0
- Once disable tests
* 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)

View File

@ -1,2 +1 @@
844bd2a277860056983b057f2c6c2118 rspec-expectations-3.5.0.gem
ca3d65838fa436386506fea4dd555cb3 rubygem-rspec-expectations-3.5.0-full.tar.gz
SHA512 (rspec-expectations-3.6.0.gem) = 8a339d482bbed73aad29a5e3640392ed57ad0cce44852d88f4806f7f6ef81898478321e6d41da3cd22929a80aa72c3339d1f7b793a60c12f57f33020f71c8fc6