ruby 2.5 drops -rubygems usage

This commit is contained in:
Mamoru TASAKA 2018-02-13 14:19:21 +09:00
parent f3091dfcb0
commit 9efec799ef

View File

@ -3,16 +3,18 @@
%global rpmminorver .%(echo %preminorver | sed -e 's|^\\.\\.*||')
%global fullver %{majorver}%{?preminorver}
%global fedorarel 1
%global fedorarel 2
%global gem_name rspec-mocks
%global need_bootstrap_set 0
%undefine __brp_mangle_shebangs
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
@ -67,7 +69,7 @@ rm -f %{buildroot}%{gem_instdir}/{.document,.yardopts}
%check
# library_wide_checks.rb needs UTF-8
LANG=en_US.utf8
ruby -rubygems -Ilib/ -S rspec spec/
ruby -rrubygems -Ilib/ -S rspec spec/
%endif
%files
@ -86,6 +88,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