This commit is contained in:
Mamoru TASAKA 2020-05-20 22:19:00 +09:00
parent 87ba4b3832
commit 12f5a08363
3 changed files with 8 additions and 13 deletions

1
.gitignore vendored
View File

@ -21,3 +21,4 @@
/kramdown-1.16.2.gem
/kramdown-1.17.0.gem
/kramdown-2.1.0.gem
/kramdown-2.2.1.gem

View File

@ -2,8 +2,8 @@
%global gem_name kramdown
Name: rubygem-%{gem_name}
Version: 2.1.0
Release: 2%{?dist}
Version: 2.2.1
Release: 1%{?dist}
Summary: Fast, pure-Ruby Markdown-superset converter
License: MIT
@ -16,7 +16,7 @@ BuildRequires: rubygem(rouge)
BuildRequires: rubygem(test-unit)
# FIXME
# Add the below when available
# BuildRequires: rubygem(stringex)
BuildRequires: rubygem(stringex)
# Recommends: rubygem(stringex)
# Some additional dependency for check
BuildRequires: tidy
@ -81,15 +81,6 @@ LANG=C.UTF-8
pushd .%{gem_instdir}
STRINGEX_STATUS="$(ruby -e "begin ; require 'stringex' ; puts 1 ; rescue LoadError ; puts 0 ; end")"
if [ $STRINGEX_STATUS == 0 ] ; then
sed -i test/testcases/block/04_header/with_auto_ids.options \
-e '\@transliterated_header_ids@s|true|false|'
sed -i \
test/testcases/block/04_header/with_auto_ids.* \
-e '\@[Tr]ransliterated@d'
fi
ruby -Ilib -e 'Dir.glob "./test/test_*.rb", &method(:require)'
popd
@ -115,6 +106,9 @@ popd
%doc %{gem_docdir}
%changelog
* Fri May 8 2020 Mamoru TASAKA <mtasaka@fedoraproject.org> - 2.2.1-1
- 2.2.1
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (kramdown-2.1.0.gem) = 86a2934218365c71ff4f99591cba3b49ddc5ee60a78fcd7bf1f72e86281cda7bbea3c67b1b7caca6c4b8ca6e5b62d4df25e85089db659c93bd4da4b1c8eada69
SHA512 (kramdown-2.2.1.gem) = 7c322010a8a418706c48d5a1011354aba215d50be94354fff93a636ff3453906bb381cf5669560a6bd10ecaf3bab7b04f446efa0a4b85322865b879f74de4c43