Fix build error for Ruby 3
(cherry picked from commit 0ce0d75737012970ef81b0abad61e8ba80f86885)
This commit is contained in:
parent
1a82c10d41
commit
3c748f00e3
@ -1,7 +1,7 @@
|
|||||||
%global gem_name yard
|
%global gem_name yard
|
||||||
Name: rubygem-%{gem_name}
|
Name: rubygem-%{gem_name}
|
||||||
Version: 0.9.26
|
Version: 0.9.26
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: Documentation tool for consistent and usable documentation in Ruby
|
Summary: Documentation tool for consistent and usable documentation in Ruby
|
||||||
License: MIT and (BSD or Ruby)
|
License: MIT and (BSD or Ruby)
|
||||||
URL: http://yardoc.org
|
URL: http://yardoc.org
|
||||||
@ -9,7 +9,7 @@ Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
|
|||||||
Source1: %{gem_name}-%{version}-spec.txz
|
Source1: %{gem_name}-%{version}-spec.txz
|
||||||
|
|
||||||
BuildRequires: ruby(release) rubygems-devel ruby rubygem(RedCloth) rubygem(asciidoctor) rubygem(bundler)
|
BuildRequires: ruby(release) rubygems-devel ruby rubygem(RedCloth) rubygem(asciidoctor) rubygem(bundler)
|
||||||
BuildRequires: rubygem(rspec) rubygem(redcarpet) rubygem(rack)
|
BuildRequires: rubygem(rspec) rubygem(redcarpet) rubygem(rack) rubygem(webrick)
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%description
|
%description
|
||||||
YARD is a documentation generation tool for the Ruby programming language.
|
YARD is a documentation generation tool for the Ruby programming language.
|
||||||
@ -75,12 +75,16 @@ popd
|
|||||||
%{gem_instdir}/Rakefile
|
%{gem_instdir}/Rakefile
|
||||||
%doc %{gem_instdir}/SECURITY.md
|
%doc %{gem_instdir}/SECURITY.md
|
||||||
%{gem_instdir}/benchmarks
|
%{gem_instdir}/benchmarks
|
||||||
|
%{gem_plugin}
|
||||||
%{gem_instdir}/tasks
|
%{gem_instdir}/tasks
|
||||||
%doc %{gem_instdir}/docs
|
%doc %{gem_instdir}/docs
|
||||||
%{gem_instdir}/samus.json
|
%{gem_instdir}/samus.json
|
||||||
%{gem_instdir}/%{gem_name}.gemspec
|
%{gem_instdir}/%{gem_name}.gemspec
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Jan 22 2022 liyanan <liyanan32@huawei.com> - 0.9.26-2
|
||||||
|
- Fix build error for Ruby 3
|
||||||
|
|
||||||
* Mon Jul 26 2021 houyingchao <houyingchao@huawei.com> - 0.9.26-1
|
* Mon Jul 26 2021 houyingchao <houyingchao@huawei.com> - 0.9.26-1
|
||||||
- Upgrade to 0.9.26
|
- Upgrade to 0.9.26
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user