This commit is contained in:
Mamoru TASAKA 2017-09-14 18:20:32 +09:00
parent ad0d4ec301
commit ed90569c3c
3 changed files with 12 additions and 11 deletions

1
.gitignore vendored
View File

@ -17,3 +17,4 @@
/kramdown-1.13.1.gem
/kramdown-1.13.2.gem
/kramdown-1.14.0.gem
/kramdown-1.15.0.gem

View File

@ -2,8 +2,8 @@
%global gem_name kramdown
Name: rubygem-%{gem_name}
Version: 1.14.0
Release: 2%{?dist}
Version: 1.15.0
Release: 1%{?dist}
Summary: Fast, pure-Ruby Markdown-superset converter
License: MIT
@ -12,6 +12,10 @@ Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
BuildRequires: ruby(release)
BuildRequires: rubygems-devel
BuildRequires: rubygem(minitest) >= 5
BuildRequires: rubygem(prawn)
BuildRequires: rubygem(prawn-table)
BuildRequires: rubygem(rake)
BuildRequires: rubygem(rouge)
Requires: ruby(release)
Requires: ruby(rubygems)
BuildArch: noarch
@ -67,15 +71,8 @@ LANG=en_US.utf8
pushd .%{gem_instdir}
%if 0%{?fedora} >= 21
sed -i.minitest \
-e "\@require 'kramdown'@i gem 'minitest', '~> 4'" \
test/run_tests.rb
%endif
# Some tests seem to be failing, need investigating
ruby -Ilib:test:. --verbose test/run_tests.rb 2>&1 | tee test-result.log
cat test-result.log | grep FAILED && echo "Please investigate this" || true
rake test || true
popd
%files
@ -97,6 +94,9 @@ popd
%doc %{gem_instdir}/doc/
%changelog
* Thu Sep 14 2017 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.15.0-1
- 1.15.0
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.14.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (kramdown-1.14.0.gem) = bd6295db2fe0d3a7dca936d47f0aaf7f939a86361dfdd3203a52683a9eb11a68075cad7d068cc56a315db3c14e73cf5aebb87531ba3086301a7521c5a86f9905
SHA512 (kramdown-1.15.0.gem) = db91bef9df254fd55a2742a38fd9180eff80ccd720fbd6600473840772f10441b12abcf497efdc91b920f7cd10c8b3d66f0b3f2dacb3480b290c222a5c2aa0b4