update to asciidoctor 2.0.17 (rhbz#2113688, FTBFS)

The 2.0.17 release includes fixes for some tests which fail with ruby
3.1.

It also adds some new tests which require the open-uri-cached gem.
Disable those tests until open-uri-cached is packaged.

Helped-by: Michael J Gruber <mjg@fedoraproject.org>
This commit is contained in:
Todd Zullinger 2022-08-02 01:25:34 -04:00
parent d1d7163f3c
commit 8a5e9a406b
2 changed files with 11 additions and 3 deletions

View File

@ -6,8 +6,8 @@
Summary: A fast, open source AsciiDoc implementation in Ruby Summary: A fast, open source AsciiDoc implementation in Ruby
Name: rubygem-%{gem_name} Name: rubygem-%{gem_name}
Version: 2.0.15 Version: 2.0.17
Release: 4%{?dist} Release: 1%{?dist}
License: MIT License: MIT
URL: https://asciidoctor.org URL: https://asciidoctor.org
Source0: https://github.com/asciidoctor/asciidoctor/archive/%{gittag}/%{gem_name}-%{version}%{pre}.tar.gz Source0: https://github.com/asciidoctor/asciidoctor/archive/%{gittag}/%{gem_name}-%{version}%{pre}.tar.gz
@ -75,6 +75,10 @@ pushd .%{gem_instdir}
%if ! 0%{?rhel} %if ! 0%{?rhel}
# Asciidoctor tests require Minitest 5, so we can't run them on EPEL # Asciidoctor tests require Minitest 5, so we can't run them on EPEL
#
# disable tests which require open-uri-cached gem
sed -Ei "/test 'should cache remote (SVG|image) when allow-uri-read, cache-uri, and (inline option|data-uri) are set' do/a \\
skip('open-uri-cached gem is not avaiable on Fedora')" test/blocks_test.rb
LANG=C.UTF-8 ruby -I"lib:test" -e 'Dir.glob "./test/**/*_test.rb", &method(:require)' LANG=C.UTF-8 ruby -I"lib:test" -e 'Dir.glob "./test/**/*_test.rb", &method(:require)'
%endif %endif
popd popd
@ -117,6 +121,10 @@ cp -a .%{gem_instdir}/man/*.1 \
%doc %{gem_docdir} %doc %{gem_docdir}
%changelog %changelog
* Tue Aug 02 2022 Todd Zullinger <tmz@pobox.com> - 2.0.17-1
- update to asciidoctor 2.0.17 (rhbz#2113688)
- disable tests which require open-uri-cached gem
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.15-4 * Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.15-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (asciidoctor-2.0.15.tar.gz) = 4cd0ce922d5db5bc5b31ebc75707c2e9e2a94a2a28eeb68ed25f55c46c416c950d28b880c4b1ab52bbcdda9ee4ee7b1c297049754d214983b68eedf2d96492d8 SHA512 (asciidoctor-2.0.17.tar.gz) = 3d2a94b76b3593f5525ac11593885e4f2d36563983d8a5377d832eae55dbe38768cae540fbaebf5b3ec094e40f9104cb666d377417f138113581c2e9382cbdda