diff --git a/.gitignore b/.gitignore index db073dc..1f677a9 100644 --- a/.gitignore +++ b/.gitignore @@ -1,12 +1,2 @@ -yard-0.5.3.gem -/yard-0.7.2.gem -/yard-0.7.4.gem -/yard-0.8.1.gem -/yard-0.8.2.1.gem -/yard-0.8.5.2.gem -/yard-0.8.7.gem -/yard-0.8.7.4.gem -/yard-0.8.7.6.gem -/yard-0.9.8.gem -/yard-0.9.12.gem -/yard-0.9.24.gem +/yard-*.gem +/yard-*-spec.txz diff --git a/rubygem-yard.spec b/rubygem-yard.spec index 16b0722..43dc2e1 100644 --- a/rubygem-yard.spec +++ b/rubygem-yard.spec @@ -1,12 +1,17 @@ %global gem_name yard Name: rubygem-%{gem_name} -Version: 0.9.24 -Release: 2%{?dist} +Version: 0.9.26 +Release: 1%{?dist} 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 +# The test suite is not shipped with the gem. You may check it out like so: +# git clone http://github.com/lsegal/yard +# cd yard && git archive -v -o yard-0.9.26-spec.txz v0.9.26 spec/ +Source1: %{gem_name}-%{version}-spec.txz + # The 'irb/notifier' might be required for parsing of some old Ruby code. # https://github.com/lsegal/yard/blob/v0.9.24/lib/yard/parser/ruby/legacy/irb/slex.rb#L13 Recommends: rubygem(irb) @@ -37,7 +42,7 @@ BuildArch: noarch Documentation for %{name}. %prep -%setup -q -n %{gem_name}-%{version} +%setup -q -n %{gem_name}-%{version} -b1 %build # Create the gem as gem install only works on a gem file @@ -65,6 +70,8 @@ find %{buildroot}%{gem_instdir}/bin -type f | xargs chmod a+x %check pushd .%{gem_instdir} +# Copy the test suite into place +cp -r %{_builddir}/spec . # There are quite some test mocking File functionality which makes running the # test suite without Bundler hard. Since the test suite includes Bundler test @@ -72,7 +79,7 @@ pushd .%{gem_instdir} # Bundler. sed -r -i "/(coveralls|gettext|samus|simplecov)/ s/^/#/" Gemfile -rspec spec +rspec -Ispec spec popd %files @@ -101,12 +108,16 @@ popd %{gem_instdir}/Rakefile %doc %{gem_instdir}/SECURITY.md %{gem_instdir}/benchmarks +%{gem_instdir}/tasks %doc %{gem_instdir}/docs %{gem_instdir}/samus.json -%{gem_instdir}/spec %{gem_instdir}/%{gem_name}.gemspec %changelog +* Fri Dec 18 02:42:33 CET 2020 Pavel Valena - 0.9.26-1 +- Update to yard 0.9.26. + Resolves: rhbz#1830795 + * Wed Jul 29 2020 Fedora Release Engineering - 0.9.24-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild diff --git a/sources b/sources index a47ab0e..1025e50 100644 --- a/sources +++ b/sources @@ -1 +1,2 @@ -SHA512 (yard-0.9.24.gem) = c6a270eeb214230f349d038889c72ee21a19756b4aeda2827c397000092e4bdd16109c4e8605f1b4a962e15ffe9aae1013d2ecf7ab5a0948f5e5ce3dd7b8cf55 +SHA512 (yard-0.9.26.gem) = fc56f2170d40869252d4c81dc3bf4333c489328ae92ff0c290f84bcd772fbf30c75df0a874026b2d0f0d30deeaa55d2e9531f0c81c10a29eb610becee3568e46 +SHA512 (yard-0.9.26-spec.txz) = 157d940ed4f808a7df86f5bc31419620e1a325a8b7b7ed5847ed0f0cc5ab92760accc80d3efb6ae170246e296f578cf1da7f943bed40ca9d0548e84242a5964a