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 rpmminorver .%(echo %preminorver | sed -e 's|^\\.\\.*||')
%global fullver %{majorver}%{?preminorver} %global fullver %{majorver}%{?preminorver}
%global fedorarel 1 %global fedorarel 2
%global gem_name rspec-expectations %global gem_name rspec-expectations
%global need_bootstrap_set 0 %global need_bootstrap_set 0
%undefine __brp_mangle_shebangs
Summary: RSpec expectations (should and matchers) Summary: RSpec expectations (should and matchers)
Name: rubygem-%{gem_name} Name: rubygem-%{gem_name}
Version: %{majorver} Version: %{majorver}
@ -63,7 +65,7 @@ rm -f %{buildroot}%{gem_instdir}/{.document,.yardopts}
%if 0%{?need_bootstrap_set} < 1 %if 0%{?need_bootstrap_set} < 1
%check %check
LANG=en_US.UTF-8 LANG=en_US.UTF-8
ruby -rubygems -Ilib/ -S rspec spec/ ruby -rrubygems -Ilib/ -S rspec spec/
%endif %endif
%files %files
@ -82,6 +84,9 @@ ruby -rubygems -Ilib/ -S rspec spec/
%{gem_docdir} %{gem_docdir}
%changelog %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 * 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 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild