update to 0.9.28
This commit is contained in:
parent
fd6f2d9a60
commit
4029f65e73
@ -1,11 +1,13 @@
|
|||||||
%global gem_name yard
|
%global gem_name yard
|
||||||
Name: rubygem-%{gem_name}
|
Name: rubygem-%{gem_name}
|
||||||
Version: 0.9.26
|
Version: 0.9.28
|
||||||
Release: 2
|
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
|
||||||
|
# cd yard && git archive -v -o yard-0.9.28-spec.txz v0.9.28 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)
|
||||||
@ -38,7 +40,6 @@ 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} -type f | xargs chmod a-x
|
|
||||||
find %{buildroot}%{gem_instdir}/bin -type f | xargs chmod a+x
|
find %{buildroot}%{gem_instdir}/bin -type f | xargs chmod a+x
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@ -46,7 +47,10 @@ pushd .%{gem_instdir}
|
|||||||
cp -r %{_builddir}/spec .
|
cp -r %{_builddir}/spec .
|
||||||
|
|
||||||
sed -r -i "/(coveralls|gettext|samus|simplecov)/ s/^/#/" Gemfile
|
sed -r -i "/(coveralls|gettext|samus|simplecov)/ s/^/#/" Gemfile
|
||||||
rspec -Ispec spec
|
|
||||||
|
sed -r -i "/gem 'commonmarker'/ s/^/#/" Gemfile
|
||||||
|
|
||||||
|
rspec spec
|
||||||
popd
|
popd
|
||||||
|
|
||||||
%files
|
%files
|
||||||
@ -82,6 +86,9 @@ popd
|
|||||||
%{gem_instdir}/%{gem_name}.gemspec
|
%{gem_instdir}/%{gem_name}.gemspec
|
||||||
|
|
||||||
%changelog
|
%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
|
* Sat Jan 22 2022 liyanan <liyanan32@huawei.com> - 0.9.26-2
|
||||||
- Fix build error for Ruby 3
|
- Fix build error for Ruby 3
|
||||||
|
|
||||||
|
|||||||
BIN
yard-0.9.26.gem
BIN
yard-0.9.26.gem
Binary file not shown.
Binary file not shown.
BIN
yard-0.9.28.gem
Normal file
BIN
yard-0.9.28.gem
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user