Update to 2.1.0

This commit is contained in:
Mamoru TASAKA 2019-09-11 18:58:55 +09:00
parent ba30adbfac
commit e01594c0ce
3 changed files with 14 additions and 16 deletions

1
.gitignore vendored
View File

@ -20,3 +20,4 @@
/kramdown-1.15.0.gem
/kramdown-1.16.2.gem
/kramdown-1.17.0.gem
/kramdown-2.1.0.gem

View File

@ -2,8 +2,8 @@
%global gem_name kramdown
Name: rubygem-%{gem_name}
Version: 1.17.0
Release: 6%{?dist}
Version: 2.1.0
Release: 1%{?dist}
Summary: Fast, pure-Ruby Markdown-superset converter
License: MIT
@ -12,10 +12,8 @@ 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)
BuildRequires: rubygem(test-unit)
# FIXME
# Add the below when available
# BuildRequires: rubygem(stringex)
@ -30,10 +28,6 @@ BuildRequires: tex(amsthm.sty)
BuildRequires: tex(amsfonts.sty)
BuildRequires: tex(utf8x.def)
BuildRequires: tex-ec
# And currently:
# Skipping MathjaxNode tests as MathjaxNode is not available
# Skipping SsKaTeX tests as SsKaTeX is not available.
# Looks like some npm related packages are needed to enable more tests, not doing for now
Requires: ruby(release)
Requires: ruby(rubygems)
BuildArch: noarch
@ -80,8 +74,6 @@ mv %{buildroot}%{gem_instdir}/man/man1/kramdown.1 \
# Cleanup
pushd %{buildroot}%{gem_instdir}
rm -rf \
setup.rb Rakefile \
benchmark/ \
test/
%check
@ -98,13 +90,16 @@ sed -i \
-e '\@[Tr]ransliterated@d'
fi
# Some tests seem to be failing, need investigating
rake test || true
ruby -Ilib -e 'Dir.glob "./test/test_*.rb", &method(:require)'
popd
%files
%dir %{gem_instdir}
%doc %{gem_instdir}/[A-Z]*
%license %{gem_instdir}/COPYING
%doc %{gem_instdir}/AUTHORS
%doc %{gem_instdir}/CONTRIBUTERS
%doc %{gem_instdir}/README.md
%doc %{gem_instdir}/VERSION
%{_bindir}/kramdown
%{gem_instdir}/bin
@ -118,9 +113,11 @@ popd
%files doc
%doc %{gem_docdir}
%doc %{gem_instdir}/doc/
%changelog
* Wed Sep 11 2019 Mamoru TASAKA <mtasaka@fedoraproject.org> - 2.1.0-1
- Update to 2.1.0
* Wed Sep 11 2019 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.17.0-6
- Enable more tests

View File

@ -1 +1 @@
SHA512 (kramdown-1.17.0.gem) = 0f98f4234dec41b53d7f116be1075176c7fcbf21621c6f52a9e5b4055a777b01f1a0a912be81a651e85df022e7bab3ac183ee66cd87abeae092cd1920aceff04
SHA512 (kramdown-2.1.0.gem) = 86a2934218365c71ff4f99591cba3b49ddc5ee60a78fcd7bf1f72e86281cda7bbea3c67b1b7caca6c4b8ca6e5b62d4df25e85089db659c93bd4da4b1c8eada69