!2 Fix compile failure due to updated AsciiDoctor
From: @wang--ge Reviewed-by: @small_leek Signed-off-by: @small_leek
This commit is contained in:
commit
5bd0c0ac7f
@ -2,7 +2,7 @@
|
|||||||
%{?_with_bootstrap: %global bootstrap 1}
|
%{?_with_bootstrap: %global bootstrap 1}
|
||||||
Name: rubygem-%{gem_name}
|
Name: rubygem-%{gem_name}
|
||||||
Version: 2.0.8
|
Version: 2.0.8
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: Generic interface to multiple Ruby template engines
|
Summary: Generic interface to multiple Ruby template engines
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: http://github.com/rtomayko/tilt
|
URL: http://github.com/rtomayko/tilt
|
||||||
@ -54,6 +54,9 @@ find %{buildroot}%{gem_instdir}/bin -type f | xargs chmod a+x
|
|||||||
%if ! 0%{?bootstrap}
|
%if ! 0%{?bootstrap}
|
||||||
pushd .%{gem_instdir}
|
pushd .%{gem_instdir}
|
||||||
sed -i '/[Bb]undler/ s/^/#/' test/test_helper.rb
|
sed -i '/[Bb]undler/ s/^/#/' test/test_helper.rb
|
||||||
|
#DocBook 4.5 has been removed since AsciiDoctor 2.0.0.
|
||||||
|
#htps://github.com/asciidoctor/asciidoctor/issues/3005
|
||||||
|
sed -i '/docbook 4.5/a\ skip' test/tilt_asciidoctor_test.rb
|
||||||
LANG=C.UTF-8 ruby -Ilib:test -e 'Dir.glob "./test/**/*_test.rb", &method(:require)'
|
LANG=C.UTF-8 ruby -Ilib:test -e 'Dir.glob "./test/**/*_test.rb", &method(:require)'
|
||||||
popd
|
popd
|
||||||
%endif
|
%endif
|
||||||
@ -82,5 +85,8 @@ popd
|
|||||||
%{gem_instdir}/test
|
%{gem_instdir}/test
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Dec 29 2020 Ge Wang <wangge20@huawei.com> - 2.0.8-2
|
||||||
|
- Fix compile failure due to updated AsciiDoctor
|
||||||
|
|
||||||
* Mon Aug 24 2020 liyanan <liyanan32@huawei.com> - 2.0.8-1
|
* Mon Aug 24 2020 liyanan <liyanan32@huawei.com> - 2.0.8-1
|
||||||
- package init
|
- package init
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user