Update to rspec-its 1.3.0

also ehance .spec and .gitignore files.
f38
Pavel Valena 6 years ago
parent 07dd8bd9b7
commit 5019432286

3
.gitignore vendored

@ -1,2 +1 @@
/rspec-its-1.1.0.gem
/rspec-its-1.2.0.gem
/rspec-its-*.gem

@ -1,32 +1,19 @@
%global gem_name rspec-its
Name: rubygem-%{gem_name}
Version: 1.2.0
Release: 4%{?dist}
Version: 1.3.0
Release: 1%{?dist}
Summary: Provides "its" method formerly part of rspec-core
License: MIT
URL: https://github.com/rspec/rspec-its
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
# Fix Ruby 2.4 compatibility
# https://github.com/rspec/rspec-its/pull/45
Patch0: rubygem-rspec-its-1.2.0-Fix-Ruby-2.4-compatibility.patch
%if 0%{?el7}
Requires: ruby(release)
Requires: ruby(rubygems)
Requires: rubygem(rspec-core) >= 2.99.0.beta1
Requires: rubygem(rspec-expectations) >= 2.99.0.beta1
%endif
BuildRequires: ruby(release)
BuildRequires: rubygems-devel
BuildRequires: rubygem(rspec-core)
BuildRequires: rubygem(rspec-expectations)
BuildRequires: rubygem(aruba)
BuildArch: noarch
%if 0%{?el7}
Provides: rubygem(%{gem_name}) = %{version}
%endif
%description
RSpec extension gem for attribute matching.
@ -53,7 +40,6 @@ cp -a .%{gem_dir}/* \
%check
pushd .%{gem_instdir}
cat %{PATCH0} | patch -p1 -F 0
rspec -Ilib spec
export RUBYOPT="-I${PWD}/lib"
cucumber
@ -61,7 +47,6 @@ popd
%files
%{!?_licensedir:%global license %%doc}
%dir %{gem_instdir}
%license %{gem_instdir}/LICENSE.txt
%{gem_libdir}
@ -72,7 +57,6 @@ popd
%files doc
%doc %{gem_docdir}
%doc %{gem_instdir}/Changelog.md
%{gem_instdir}/cucumber.yml
%{gem_instdir}/features
%{gem_instdir}/spec
%{gem_instdir}/Gemfile
@ -82,6 +66,9 @@ popd
%{gem_instdir}/%{gem_name}.gemspec
%changelog
* Mon Jul 15 2019 Pavel Valena <pvalena@redhat.com> - 1.3.0-1
- Update to rspec-its 1.3.0.
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

@ -1 +1 @@
SHA512 (rspec-its-1.2.0.gem) = 6b390f92654f8e6482f0da30d4e721ee127f628eb305268e474d4c9fb14fca1d0fb8922cabc9a8c1372976b5a52349c5a5a774e3026f32d8050c5aea2bc9ccae
SHA512 (rspec-its-1.3.0.gem) = beff75fc84f9879095f02f4515bfd749dded877b8b4d5186423ddd78c6c16d6c5e810ebac80f3500cc7b1d23db119c72780c32888385d21d20672a26499ae94a

Loading…
Cancel
Save