diff --git a/rubygem-yard.spec b/rubygem-yard.spec index ecebaed..d7e60c3 100644 --- a/rubygem-yard.spec +++ b/rubygem-yard.spec @@ -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 - 0.9.28-1 +- update to 0.9.28 + * Sat Jan 22 2022 liyanan - 0.9.26-2 - Fix build error for Ruby 3 diff --git a/yard-0.9.26.gem b/yard-0.9.26.gem deleted file mode 100644 index d0adf76..0000000 Binary files a/yard-0.9.26.gem and /dev/null differ diff --git a/yard-0.9.26-spec.txz b/yard-0.9.28-spec.txz similarity index 96% rename from yard-0.9.26-spec.txz rename to yard-0.9.28-spec.txz index 74f2212..35232c7 100644 Binary files a/yard-0.9.26-spec.txz and b/yard-0.9.28-spec.txz differ diff --git a/yard-0.9.28.gem b/yard-0.9.28.gem new file mode 100644 index 0000000..5ba5357 Binary files /dev/null and b/yard-0.9.28.gem differ