update to 0.9.28

This commit is contained in:
caodongxia 2023-01-17 16:41:19 +08:00
parent fd6f2d9a60
commit 4029f65e73
4 changed files with 11 additions and 4 deletions

View File

@ -1,11 +1,13 @@
%global gem_name yard
Name: rubygem-%{gem_name}
Version: 0.9.26
Release: 2
Version: 0.9.28
Release: 1
Summary: Documentation tool for consistent and usable documentation in Ruby
License: MIT and (BSD or Ruby)
URL: http://yardoc.org
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
# git clone http://github.com/lsegal/yard
# cd yard && git archive -v -o yard-0.9.28-spec.txz v0.9.28 spec/
Source1: %{gem_name}-%{version}-spec.txz
BuildRequires: ruby(release) rubygems-devel ruby rubygem(RedCloth) rubygem(asciidoctor) rubygem(bundler)
@ -38,7 +40,6 @@ cp -a .%{gem_dir}/* \
mkdir -p %{buildroot}%{_bindir}
cp -a .%{_bindir}/* \
%{buildroot}%{_bindir}/
find %{buildroot}%{gem_instdir} -type f | xargs chmod a-x
find %{buildroot}%{gem_instdir}/bin -type f | xargs chmod a+x
%check
@ -46,7 +47,10 @@ pushd .%{gem_instdir}
cp -r %{_builddir}/spec .
sed -r -i "/(coveralls|gettext|samus|simplecov)/ s/^/#/" Gemfile
rspec -Ispec spec
sed -r -i "/gem 'commonmarker'/ s/^/#/" Gemfile
rspec spec
popd
%files
@ -82,6 +86,9 @@ popd
%{gem_instdir}/%{gem_name}.gemspec
%changelog
* Tue Jan 17 2023 caodongxia <caodongxia@h-partners.com> - 0.9.28-1
- update to 0.9.28
* Sat Jan 22 2022 liyanan <liyanan32@huawei.com> - 0.9.26-2
- Fix build error for Ruby 3

Binary file not shown.

BIN
yard-0.9.28.gem Normal file

Binary file not shown.