update to 0.9.34
This commit is contained in:
parent
02c2a27f61
commit
a987f04375
@ -1,13 +1,13 @@
|
||||
%global gem_name yard
|
||||
Name: rubygem-%{gem_name}
|
||||
Version: 0.9.28
|
||||
Version: 0.9.34
|
||||
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/
|
||||
# cd yard && git archive -v -o yard-0.9.34-spec.txz v0.9.34 spec/
|
||||
Source1: %{gem_name}-%{version}-spec.txz
|
||||
|
||||
BuildRequires: ruby(release) rubygems-devel ruby rubygem(RedCloth) rubygem(asciidoctor) rubygem(bundler)
|
||||
@ -40,17 +40,15 @@ cp -a .%{gem_dir}/* \
|
||||
mkdir -p %{buildroot}%{_bindir}
|
||||
cp -a .%{_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
|
||||
pushd .%{gem_instdir}
|
||||
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 spec
|
||||
rspec -r spec_helper spec
|
||||
popd
|
||||
|
||||
%files
|
||||
@ -71,21 +69,14 @@ popd
|
||||
%files doc
|
||||
%doc %{gem_docdir}
|
||||
%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
|
||||
%{gem_instdir}/Rakefile
|
||||
%doc %{gem_instdir}/SECURITY.md
|
||||
%{gem_instdir}/benchmarks
|
||||
%{gem_plugin}
|
||||
%{gem_instdir}/tasks
|
||||
%doc %{gem_instdir}/docs
|
||||
%{gem_instdir}/samus.json
|
||||
%{gem_instdir}/%{gem_name}.gemspec
|
||||
|
||||
%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
|
||||
- update to 0.9.28
|
||||
|
||||
|
||||
BIN
yard-0.9.28.gem
BIN
yard-0.9.28.gem
Binary file not shown.
Binary file not shown.
BIN
yard-0.9.34.gem
Normal file
BIN
yard-0.9.34.gem
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user