commit
379dbdef7d
@ -1,3 +1,4 @@
|
||||
%bcond_with bootstrap
|
||||
%global majorver 3.8.2
|
||||
%global rpmminorver .%(echo %preminorver | sed -e 's|^\\.\\.*||')
|
||||
%global fullver %{majorver}%{?preminorver}
|
||||
@ -7,7 +8,7 @@
|
||||
Summary: Rspec-2 runner and formatters
|
||||
Name: rubygem-%{gem_name}
|
||||
Version: %{majorver}
|
||||
Release: 1
|
||||
Release: 2
|
||||
License: MIT
|
||||
URL: http://github.com/rspec/rspec-mocks
|
||||
Source0: http://rubygems.org/gems/%{gem_name}-%{fullver}.gem
|
||||
@ -42,6 +43,7 @@ gem build %{gem_name}.gemspec
|
||||
mkdir -p %{buildroot}%{_prefix}
|
||||
cp -a .%{_prefix}/* %{buildroot}%{_prefix}/
|
||||
rm -f %{buildroot}%{gem_instdir}/{.document,.yardopts}
|
||||
%if %{with bootstrap}
|
||||
%if 0%{?need_bootstrap_set} < 1
|
||||
|
||||
%check
|
||||
@ -94,6 +96,7 @@ ruby -rrubygems -Ilib/ -S exe/rspec || \
|
||||
ruby -rrubygems -Ilib/ -S exe/rspec --tag ~broken
|
||||
%endif
|
||||
mv lib/rspec/core/configuration_options.rb{.warn,}
|
||||
%endif
|
||||
|
||||
%files
|
||||
%dir %{gem_instdir}
|
||||
@ -110,5 +113,8 @@ mv lib/rspec/core/configuration_options.rb{.warn,}
|
||||
%{gem_docdir}
|
||||
|
||||
%changelog
|
||||
* Mon Sep 7 2020 liyanan <liyanan32@huawei.com> - 3.8.2-2
|
||||
- fix build fail
|
||||
|
||||
* Wed Aug 19 2020 huangyangke <huangyangke@huawei.com> - 3.8.2-1
|
||||
- package init
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user