update to 0.9.34

This commit is contained in:
lyn1001 2023-08-01 14:45:07 +08:00
parent 02c2a27f61
commit a987f04375
4 changed files with 8 additions and 17 deletions

View File

@ -1,13 +1,13 @@
%global gem_name yard %global gem_name yard
Name: rubygem-%{gem_name} Name: rubygem-%{gem_name}
Version: 0.9.28 Version: 0.9.34
Release: 1 Release: 1
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
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
# git clone http://github.com/lsegal/yard # git clone http://github.com/lsegal/yard
# cd yard && git archive -v -o yard-0.9.28-spec.txz v0.9.28 spec/ # cd yard && git archive -v -o yard-0.9.34-spec.txz v0.9.34 spec/
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)
@ -40,17 +40,15 @@ cp -a .%{gem_dir}/* \
mkdir -p %{buildroot}%{_bindir} mkdir -p %{buildroot}%{_bindir}
cp -a .%{_bindir}/* \ cp -a .%{_bindir}/* \
%{buildroot}%{_bindir}/ %{buildroot}%{_bindir}/
find %{buildroot}%{gem_instdir}/bin -type f | xargs chmod a+x find %{buildroot}%{gem_instdir}/bin -type f | xargs chmod 0755
%check %check
pushd .%{gem_instdir} pushd .%{gem_instdir}
cp -r %{_builddir}/spec . cp -r %{_builddir}/spec .
sed -r -i "/(coveralls|gettext|samus|simplecov)/ s/^/#/" Gemfile sed -i spec/cli/diff_spec.rb -e '\@"searches for .gem file"@s|\([ \t]it \)|\txit |'
sed -r -i "/gem 'commonmarker'/ s/^/#/" Gemfile rspec -r spec_helper spec
rspec spec
popd popd
%files %files
@ -71,21 +69,14 @@ popd
%files doc %files doc
%doc %{gem_docdir} %doc %{gem_docdir}
%doc %{gem_instdir}/CHANGELOG.md %doc %{gem_instdir}/CHANGELOG.md
%doc %{gem_instdir}/CODE_OF_CONDUCT.md
%doc %{gem_instdir}/CONTRIBUTING.md
%{gem_instdir}/Dockerfile.samus
%{gem_instdir}/Gemfile
%doc %{gem_instdir}/README.md %doc %{gem_instdir}/README.md
%{gem_instdir}/Rakefile
%doc %{gem_instdir}/SECURITY.md
%{gem_instdir}/benchmarks
%{gem_plugin} %{gem_plugin}
%{gem_instdir}/tasks
%doc %{gem_instdir}/docs %doc %{gem_instdir}/docs
%{gem_instdir}/samus.json
%{gem_instdir}/%{gem_name}.gemspec
%changelog %changelog
* Tue Aug 1 2023 liyanan <thistleslyn@163.com> - 0.9.34-1
- Update to 0.9.34
* Tue Jan 17 2023 caodongxia <caodongxia@h-partners.com> - 0.9.28-1 * Tue Jan 17 2023 caodongxia <caodongxia@h-partners.com> - 0.9.28-1
- update to 0.9.28 - update to 0.9.28

Binary file not shown.

BIN
yard-0.9.34.gem Normal file

Binary file not shown.