ruby 2.5 drops -rubygems usage

This commit is contained in:
Mamoru TASAKA 2018-02-13 12:50:48 +09:00
parent d4791c127a
commit b23b3fccd9

View File

@ -3,12 +3,14 @@
%global rpmminorver .%(echo %preminorver | sed -e 's|^\\.\\.*||')
%global fullver %{majorver}%{?preminorver}
%global fedorarel 1
%global fedorarel 2
%global gem_name rspec-expectations
%global need_bootstrap_set 0
%undefine __brp_mangle_shebangs
Summary: RSpec expectations (should and matchers)
Name: rubygem-%{gem_name}
Version: %{majorver}
@ -63,7 +65,7 @@ rm -f %{buildroot}%{gem_instdir}/{.document,.yardopts}
%if 0%{?need_bootstrap_set} < 1
%check
LANG=en_US.UTF-8
ruby -rubygems -Ilib/ -S rspec spec/
ruby -rrubygems -Ilib/ -S rspec spec/
%endif
%files
@ -82,6 +84,9 @@ ruby -rubygems -Ilib/ -S rspec spec/
%{gem_docdir}
%changelog
* Tue Feb 13 2018 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.7.1-2
- ruby 2.5 drops -rubygems usage
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.0-1.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild