Compare commits
No commits in common. "c10s" and "c9s" have entirely different histories.
@ -1 +0,0 @@
|
||||
1
|
@ -0,0 +1,37 @@
|
||||
From 62014851b087071339d19b5313e5676766aabe90 Mon Sep 17 00:00:00 2001
|
||||
From: Dan Allen <dan.j.allen@gmail.com>
|
||||
Date: Fri, 22 Jan 2021 03:18:10 -0700
|
||||
Subject: [PATCH] resolves #3916 upgrade rouge and fix test assertion (PR
|
||||
#3920)
|
||||
|
||||
---
|
||||
asciidoctor.gemspec | 2 +-
|
||||
test/syntax_highlighter_test.rb | 2 +-
|
||||
2 files changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/asciidoctor.gemspec b/asciidoctor.gemspec
|
||||
index 66d70eb25..d12c24614 100644
|
||||
--- a/asciidoctor.gemspec
|
||||
+++ b/asciidoctor.gemspec
|
||||
@@ -47,7 +47,7 @@ Gem::Specification.new do |s|
|
||||
s.add_development_dependency 'nokogiri', '~> 1.10.0'
|
||||
s.add_development_dependency 'rake', '~> 12.3.0'
|
||||
# Asciidoctor supports Rouge >= 2
|
||||
- s.add_development_dependency 'rouge', '~> 3.15.0'
|
||||
+ s.add_development_dependency 'rouge', '~> 3.26.0'
|
||||
s.add_development_dependency 'rspec-expectations', '~> 3.8.0'
|
||||
s.add_development_dependency 'slim', '~> 4.0.0'
|
||||
s.add_development_dependency 'tilt', '~> 2.0.0'
|
||||
diff --git a/test/syntax_highlighter_test.rb b/test/syntax_highlighter_test.rb
|
||||
index 0a96ee96b..7b8502b1e 100644
|
||||
--- a/test/syntax_highlighter_test.rb
|
||||
+++ b/test/syntax_highlighter_test.rb
|
||||
@@ -758,7 +758,7 @@ def highlight?
|
||||
output = convert_string_to_embedded input, safe: :safe, attributes: { 'source-highlighter' => 'rouge' }
|
||||
assert_css 'pre.rouge > code[data-lang="php"]', output, 1
|
||||
# if class is "nb", then the funcnamehighlighting option is not honored
|
||||
- assert_include '<span class="nx">cal_days_in_month</span>', output
|
||||
+ refute_include '<span class="nb">cal_days_in_month</span>', output
|
||||
assert_include '<span class="mi">2019</span>', output
|
||||
end
|
||||
|
@ -1,25 +0,0 @@
|
||||
From cc9a8d3cd12f2c15e43bd263b8b8a9b32d097831 Mon Sep 17 00:00:00 2001
|
||||
From: Dan Allen <dan.j.allen@gmail.com>
|
||||
Date: Thu, 25 May 2023 18:39:56 -0600
|
||||
Subject: [PATCH] use single-line block in manify method in manpage converter
|
||||
to make it easier to patch
|
||||
|
||||
---
|
||||
lib/asciidoctor/converter/manpage.rb | 4 +---
|
||||
1 file changed, 1 insertion(+), 3 deletions(-)
|
||||
|
||||
diff --git a/lib/asciidoctor/converter/manpage.rb b/lib/asciidoctor/converter/manpage.rb
|
||||
index bcf2b784..a7aba996 100644
|
||||
--- a/lib/asciidoctor/converter/manpage.rb
|
||||
+++ b/lib/asciidoctor/converter/manpage.rb
|
||||
@@ -716,9 +716,7 @@ def manify str, opts = {}
|
||||
.gsub(LiteralBackslashRx) { $1 ? $& : '\\(rs' } # literal backslash (not a troff escape sequence)
|
||||
.gsub(EllipsisCharRefRx, '...') # horizontal ellipsis
|
||||
.gsub(LeadingPeriodRx, '\\\&.') # leading . is used in troff for macro call or other formatting; replace with \&.
|
||||
- .gsub(EscapedMacroRx) do # drop orphaned \c escape lines, unescape troff macro, quote adjacent character, isolate macro line
|
||||
- (rest = $3.lstrip).empty? ? %(.#{$1}"#{$2}") : %(.#{$1}"#{$2.rstrip}"#{LF}#{rest})
|
||||
- end
|
||||
+ .gsub(EscapedMacroRx) { (rest = $3.lstrip).empty? ? %(.#{$1}"#{$2}") : %(.#{$1}"#{$2.rstrip}"#{LF}#{rest}) } # drop orphaned \c escape lines, unescape troff macro, quote adjacent character, isolate macro line
|
||||
.gsub('-', '\-')
|
||||
.gsub('<', '<')
|
||||
.gsub('>', '>')
|
@ -1,85 +0,0 @@
|
||||
From b7c03964cfc96af9ced5db3c1a6c7a7663de5cb2 Mon Sep 17 00:00:00 2001
|
||||
From: Dan Allen <dan.j.allen@gmail.com>
|
||||
Date: Fri, 26 May 2023 01:44:09 -0600
|
||||
Subject: [PATCH] change dot layout in chained method call to be compatible
|
||||
with rdoc generator from Ruby 2.5
|
||||
|
||||
---
|
||||
lib/asciidoctor/converter/manpage.rb | 64 ++++++++++++++--------------
|
||||
1 file changed, 32 insertions(+), 32 deletions(-)
|
||||
|
||||
diff --git a/lib/asciidoctor/converter/manpage.rb b/lib/asciidoctor/converter/manpage.rb
|
||||
index a7aba996..be52e9be 100644
|
||||
--- a/lib/asciidoctor/converter/manpage.rb
|
||||
+++ b/lib/asciidoctor/converter/manpage.rb
|
||||
@@ -712,38 +712,38 @@ def manify str, opts = {}
|
||||
else
|
||||
str = str.tr_s WHITESPACE, ' '
|
||||
end
|
||||
- str = str
|
||||
- .gsub(LiteralBackslashRx) { $1 ? $& : '\\(rs' } # literal backslash (not a troff escape sequence)
|
||||
- .gsub(EllipsisCharRefRx, '...') # horizontal ellipsis
|
||||
- .gsub(LeadingPeriodRx, '\\\&.') # leading . is used in troff for macro call or other formatting; replace with \&.
|
||||
- .gsub(EscapedMacroRx) { (rest = $3.lstrip).empty? ? %(.#{$1}"#{$2}") : %(.#{$1}"#{$2.rstrip}"#{LF}#{rest}) } # drop orphaned \c escape lines, unescape troff macro, quote adjacent character, isolate macro line
|
||||
- .gsub('-', '\-')
|
||||
- .gsub('<', '<')
|
||||
- .gsub('>', '>')
|
||||
- .gsub('+', '+') # plus sign; alternately could use \c(pl
|
||||
- .gsub(' ', '\~') # non-breaking space
|
||||
- .gsub('©', '\(co') # copyright sign
|
||||
- .gsub('®', '\(rg') # registered sign
|
||||
- .gsub('™', '\(tm') # trademark sign
|
||||
- .gsub('°', '\(de') # degree sign
|
||||
- .gsub(' ', ' ') # thin space
|
||||
- .gsub('–', '\(en') # en dash
|
||||
- .gsub(EmDashCharRefRx, '\(em') # em dash
|
||||
- .gsub('‘', '\(oq') # left single quotation mark
|
||||
- .gsub('’', '\(cq') # right single quotation mark
|
||||
- .gsub('“', '\(lq') # left double quotation mark
|
||||
- .gsub('”', '\(rq') # right double quotation mark
|
||||
- .gsub('←', '\(<-') # leftwards arrow
|
||||
- .gsub('→', '\(->') # rightwards arrow
|
||||
- .gsub('⇐', '\(lA') # leftwards double arrow
|
||||
- .gsub('⇒', '\(rA') # rightwards double arrow
|
||||
- .gsub('​', '\:') # zero width space
|
||||
- .gsub('&', '&') # literal ampersand (NOTE must take place after any other replacement that includes &)
|
||||
- .gsub('\'', '\*(Aq') # apostrophe / neutral single quote
|
||||
- .gsub(MockMacroRx, '\1') # mock boundary
|
||||
- .gsub(ESC_BS, '\\') # unescape troff backslash (NOTE update if more escapes are added)
|
||||
- .gsub(ESC_FS, '.') # unescape full stop in troff commands (NOTE must take place after gsub(LeadingPeriodRx))
|
||||
- .rstrip # strip trailing space
|
||||
+ str = str.
|
||||
+ gsub(LiteralBackslashRx) { $1 ? $& : '\\(rs' }. # literal backslash (not a troff escape sequence)
|
||||
+ gsub(EllipsisCharRefRx, '...'). # horizontal ellipsis
|
||||
+ gsub(LeadingPeriodRx, '\\\&.'). # leading . is used in troff for macro call or other formatting; replace with \&.
|
||||
+ gsub(EscapedMacroRx) { (rest = $3.lstrip).empty? ? %(.#{$1}"#{$2}") : %(.#{$1}"#{$2.rstrip}"#{LF}#{rest}) }. # drop orphaned \c escape lines, unescape troff macro, quote adjacent character, isolate macro line
|
||||
+ gsub('-', '\-').
|
||||
+ gsub('<', '<').
|
||||
+ gsub('>', '>').
|
||||
+ gsub('+', '+'). # plus sign; alternately could use \c(pl
|
||||
+ gsub(' ', '\~'). # non-breaking space
|
||||
+ gsub('©', '\(co'). # copyright sign
|
||||
+ gsub('®', '\(rg'). # registered sign
|
||||
+ gsub('™', '\(tm'). # trademark sign
|
||||
+ gsub('°', '\(de'). # degree sign
|
||||
+ gsub(' ', ' '). # thin space
|
||||
+ gsub('–', '\(en'). # en dash
|
||||
+ gsub(EmDashCharRefRx, '\(em'). # em dash
|
||||
+ gsub('‘', '\(oq'). # left single quotation mark
|
||||
+ gsub('’', '\(cq'). # right single quotation mark
|
||||
+ gsub('“', '\(lq'). # left double quotation mark
|
||||
+ gsub('”', '\(rq'). # right double quotation mark
|
||||
+ gsub('←', '\(<-'). # leftwards arrow
|
||||
+ gsub('→', '\(->'). # rightwards arrow
|
||||
+ gsub('⇐', '\(lA'). # leftwards double arrow
|
||||
+ gsub('⇒', '\(rA'). # rightwards double arrow
|
||||
+ gsub('​', '\:'). # zero width space
|
||||
+ gsub('&', '&'). # literal ampersand (NOTE must take place after any other replacement that includes &)
|
||||
+ gsub('\'', '\*(Aq'). # apostrophe / neutral single quote
|
||||
+ gsub(MockMacroRx, '\1'). # mock boundary
|
||||
+ gsub(ESC_BS, '\\'). # unescape troff backslash (NOTE update if more escapes are added)
|
||||
+ gsub(ESC_FS, '.'). # unescape full stop in troff commands (NOTE must take place after gsub(LeadingPeriodRx))
|
||||
+ rstrip # strip trailing space
|
||||
opts[:append_newline] ? %(#{str}#{LF}) : str
|
||||
end
|
||||
|
@ -1,39 +0,0 @@
|
||||
From 4c93df1eeff84463c6fc299b62b78c20c3163a09 Mon Sep 17 00:00:00 2001
|
||||
From: Mamoru TASAKA <mtasaka@fedoraproject.org>
|
||||
Date: Fri, 29 Sep 2023 15:00:12 +0900
|
||||
Subject: [PATCH] Support ruby3.3 Logger by properly initialize super class
|
||||
|
||||
Upcoming ruby3.3 will have enhanced Logger class:
|
||||
https://github.com/ruby/ruby/commit/194520f80e1cdb71faa055d731450855a1ddb8d1
|
||||
which initializes newly added instance variables.
|
||||
Without initializing such variables (in super class), now using
|
||||
subclass of Logger will cause exception.
|
||||
|
||||
To avoid this, first call super, then execute additional subclass
|
||||
initialization.
|
||||
|
||||
Closes #4493 .
|
||||
---
|
||||
lib/asciidoctor/logging.rb | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/lib/asciidoctor/logging.rb b/lib/asciidoctor/logging.rb
|
||||
index 7664c7e75d..1f846c4fba 100644
|
||||
--- a/lib/asciidoctor/logging.rb
|
||||
+++ b/lib/asciidoctor/logging.rb
|
||||
@@ -42,6 +42,7 @@ class MemoryLogger < ::Logger
|
||||
attr_reader :messages
|
||||
|
||||
def initialize
|
||||
+ super nil
|
||||
self.level = WARN
|
||||
@messages = []
|
||||
end
|
||||
@@ -69,6 +70,7 @@ class NullLogger < ::Logger
|
||||
attr_reader :max_severity
|
||||
|
||||
def initialize
|
||||
+ super nil
|
||||
self.level = WARN
|
||||
end
|
||||
|
@ -1,6 +0,0 @@
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- rhel-10
|
||||
decision_context: osci_compose_gate
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
@ -1,4 +0,0 @@
|
||||
execute:
|
||||
how: tmt
|
||||
discover:
|
||||
how: fmf
|
@ -0,0 +1,108 @@
|
||||
From 11bffe004018c584b3169658bccd0d4cc31cbdcc Mon Sep 17 00:00:00 2001
|
||||
From: Dan Allen <dan.j.allen@gmail.com>
|
||||
Date: Wed, 19 Aug 2020 18:04:10 -0600
|
||||
Subject: [PATCH] resolves #3737 add support for erubi template engine; use it
|
||||
in place of erubis in test suite
|
||||
|
||||
---
|
||||
asciidoctor.gemspec | 4 ++--
|
||||
lib/asciidoctor/cli/options.rb | 4 ++--
|
||||
lib/asciidoctor/converter/template.rb | 3 +++
|
||||
test/converter_test.rb | 11 +++++------
|
||||
test/invoker_test.rb | 4 ++--
|
||||
5 files changed, 14 insertions(+), 12 deletions(-)
|
||||
|
||||
diff --git a/asciidoctor.gemspec b/asciidoctor.gemspec
|
||||
index d0c51b37e..4af042fd4 100644
|
||||
--- a/asciidoctor.gemspec
|
||||
+++ b/asciidoctor.gemspec
|
||||
@@ -40,8 +40,8 @@ Gem::Specification.new do |s|
|
||||
# concurrent-ruby, haml, slim, and tilt are needed for testing custom templates
|
||||
s.add_development_dependency 'concurrent-ruby', '~> 1.1.0'
|
||||
s.add_development_dependency 'cucumber', '~> 3.1.0'
|
||||
- # erubis is needed for testing alternate eRuby impls
|
||||
- s.add_development_dependency 'erubis', '~> 2.7.0'
|
||||
+ # erubi is needed for testing alternate eRuby impls
|
||||
+ s.add_development_dependency 'erubi', '~> 1.9.0'
|
||||
s.add_development_dependency 'haml', '~> 5.0.0'
|
||||
s.add_development_dependency 'minitest', '~> 5.11.0'
|
||||
s.add_development_dependency 'nokogiri', '~> 1.10.0'
|
||||
diff --git a/lib/asciidoctor/cli/options.rb b/lib/asciidoctor/cli/options.rb
|
||||
index db2b4b3d8..41e055f4c 100644
|
||||
--- a/lib/asciidoctor/cli/options.rb
|
||||
+++ b/lib/asciidoctor/cli/options.rb
|
||||
@@ -76,8 +76,8 @@ def parse!(args)
|
||||
opts.on('-n', '--section-numbers', 'auto-number section titles in the HTML backend; disabled by default') do
|
||||
self[:attributes]['sectnums'] = ''
|
||||
end
|
||||
- opts.on('--eruby ERUBY', ['erb', 'erubis'],
|
||||
- 'specify eRuby implementation to use when rendering custom ERB templates: [erb, erubis] (default: erb)') do |eruby|
|
||||
+ opts.on('--eruby ERUBY', ['erb', 'erubi', 'erubis'],
|
||||
+ 'specify eRuby implementation to use when rendering custom ERB templates: [erb, erubi, erubis] (default: erb)') do |eruby|
|
||||
self[:eruby] = eruby
|
||||
end
|
||||
opts.on('-a', '--attribute name[=value]', 'a document attribute to set in the form of name, name!, or name=value pair',
|
||||
diff --git a/lib/asciidoctor/converter/template.rb b/lib/asciidoctor/converter/template.rb
|
||||
index f215c5e5b..9f6265b55 100644
|
||||
--- a/lib/asciidoctor/converter/template.rb
|
||||
+++ b/lib/asciidoctor/converter/template.rb
|
||||
@@ -257,6 +257,9 @@ def load_eruby name
|
||||
if !name || name == 'erb'
|
||||
require 'erb' unless defined? ::ERB.version
|
||||
[::Tilt::ERBTemplate, {}]
|
||||
+ elsif name == 'erubi'
|
||||
+ Helpers.require_library 'erubi' unless defined? ::Erubis::Engine
|
||||
+ [::Tilt::ErubiTemplate, {}]
|
||||
elsif name == 'erubis'
|
||||
Helpers.require_library 'erubis' unless defined? ::Erubis::FastEruby
|
||||
[::Tilt::ErubisTemplate, { engine_class: ::Erubis::FastEruby }]
|
||||
diff --git a/test/converter_test.rb b/test/converter_test.rb
|
||||
index 1d23c79e8..cf227db8d 100644
|
||||
--- a/test/converter_test.rb
|
||||
+++ b/test/converter_test.rb
|
||||
@@ -241,7 +241,7 @@
|
||||
assert_kind_of Asciidoctor::Converter::TemplateConverter, selected
|
||||
template = selected.templates[node_name]
|
||||
assert_kind_of Tilt::ERBTemplate, template
|
||||
- refute_kind_of Tilt::ErubisTemplate, template
|
||||
+ refute_kind_of Tilt::ErubiTemplate, template
|
||||
assert_kind_of ::ERB, template.instance_variable_get('@engine')
|
||||
assert_equal %(block_#{node_name}.html.erb), File.basename(selected.templates[node_name].file)
|
||||
end
|
||||
@@ -258,16 +258,15 @@
|
||||
assert_equal expected_output, doc.convert
|
||||
end
|
||||
|
||||
- test 'should load ERB templates using ErubisTemplate if eruby is set to erubis' do
|
||||
- doc = Asciidoctor::Document.new [], template_dir: (fixture_path 'custom-backends/erb'), template_cache: false, eruby: 'erubis'
|
||||
+ test 'should load ERB templates using ErubiTemplate if eruby is set to erubi' do
|
||||
+ doc = Asciidoctor::Document.new [], template_dir: (fixture_path 'custom-backends/erb'), template_cache: false, eruby: 'erubi'
|
||||
assert_kind_of Asciidoctor::Converter::CompositeConverter, doc.converter
|
||||
%w(paragraph).each do |node_name|
|
||||
selected = doc.converter.find_converter node_name
|
||||
assert_kind_of Asciidoctor::Converter::TemplateConverter, selected
|
||||
template = selected.templates[node_name]
|
||||
- assert_kind_of Tilt::ERBTemplate, template
|
||||
- assert_kind_of Tilt::ErubisTemplate, template
|
||||
- assert_kind_of ::Erubis::FastEruby, template.instance_variable_get('@engine')
|
||||
+ assert_kind_of Tilt::ErubiTemplate, template
|
||||
+ assert_kind_of ::Erubi::Engine, template.instance_variable_get('@engine')
|
||||
assert_equal %(block_#{node_name}.html.erb), File.basename(selected.templates[node_name].file)
|
||||
end
|
||||
end
|
||||
diff --git a/test/invoker_test.rb b/test/invoker_test.rb
|
||||
index 079781e7f..c1c8d1baf 100644
|
||||
--- a/test/invoker_test.rb
|
||||
+++ b/test/invoker_test.rb
|
||||
@@ -673,9 +673,9 @@
|
||||
end
|
||||
|
||||
test 'should set eRuby impl if specified' do
|
||||
- invoker = invoke_cli_to_buffer %w(--eruby erubis -o /dev/null)
|
||||
+ invoker = invoke_cli_to_buffer %w(--eruby erubi -o /dev/null)
|
||||
doc = invoker.document
|
||||
- assert_equal 'erubis', doc.instance_variable_get('@options')[:eruby]
|
||||
+ assert_equal 'erubi', doc.instance_variable_get('@options')[:eruby]
|
||||
end
|
||||
|
||||
test 'should force default external encoding to UTF-8' do
|
@ -6,40 +6,41 @@
|
||||
|
||||
Summary: A fast, open source AsciiDoc implementation in Ruby
|
||||
Name: rubygem-%{gem_name}
|
||||
Version: 2.0.20
|
||||
Release: 8%{?dist}
|
||||
Version: 2.0.12
|
||||
Release: 4%{?dist}
|
||||
License: MIT
|
||||
URL: https://asciidoctor.org
|
||||
Source0: https://github.com/asciidoctor/asciidoctor/archive/%{gittag}/%{gem_name}-%{version}%{pre}.tar.gz
|
||||
# improve ruby-2.5 compatibility
|
||||
# https://github.com/asciidoctor/asciidoctor/issues/4462
|
||||
# https://github.com/asciidoctor/asciidoctor/commit/cc9a8d3c
|
||||
Patch0: 0001-use-single-line-block-in-manify-method-in-manpage-co.patch
|
||||
# https://github.com/asciidoctor/asciidoctor/commit/b7c03964
|
||||
Patch1: 0002-change-dot-layout-in-chained-method-call-to-be-compa.patch
|
||||
# https://github.com/asciidoctor/asciidoctor/pull/4494
|
||||
Patch2: 0003-support-ruby33-Logger.patch
|
||||
# Fix test failure
|
||||
# https://github.com/asciidoctor/asciidoctor/issues/3916
|
||||
Patch0: https://github.com/asciidoctor/asciidoctor/commit/62014851b.patch#/0001-resolves-3916-upgrade-rouge-and-fix-test-assertion-P.patch
|
||||
%if 0%{?el7}
|
||||
Requires: ruby(release)
|
||||
BuildRequires: ruby(release)
|
||||
%endif
|
||||
%if 0%{?el6}
|
||||
Requires: ruby(rubygems)
|
||||
Requires: ruby(abi) = 1.8
|
||||
BuildRequires: ruby(abi) = 1.8
|
||||
%endif
|
||||
BuildRequires: rubygems-devel
|
||||
BuildRequires: ruby(rubygems)
|
||||
%if ! 0%{?rhel}
|
||||
# Dependencies aren't available on EPEL
|
||||
BuildRequires: rubygem(coderay)
|
||||
BuildRequires: rubygem(concurrent-ruby)
|
||||
BuildRequires: rubygem(erubi)
|
||||
BuildRequires: rubygem(haml)
|
||||
BuildRequires: rubygem(minitest)
|
||||
BuildRequires: rubygem(nokogiri)
|
||||
BuildRequires: rubygem(rouge)
|
||||
%if 0%{?rhel}
|
||||
# Dependencies aren't available on EPEL
|
||||
%else
|
||||
BuildRequires: rubygem(concurrent-ruby)
|
||||
BuildRequires: rubygem(erubi)
|
||||
BuildRequires: rubygem(haml)
|
||||
BuildRequires: rubygem(slim)
|
||||
BuildRequires: rubygem(tilt)
|
||||
%endif
|
||||
BuildArch: noarch
|
||||
Provides: asciidoctor = %{version}
|
||||
%if 0%{?el7}
|
||||
%if 0%{?el6} || 0%{?el7}
|
||||
Provides: rubygem(%{gem_name}) = %{version}
|
||||
%endif
|
||||
|
||||
@ -81,14 +82,14 @@ gem build %{gem_name}.gemspec
|
||||
%check
|
||||
pushd .%{gem_instdir}
|
||||
|
||||
%if ! 0%{?rhel}
|
||||
# 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)'
|
||||
%if 0%{?rhel}
|
||||
# Avoid rubygem(tilt) dependency, which is needed just for custom templates.
|
||||
sed -i '/require.*tilt/ s/^/#/' test/converter_test.rb
|
||||
sed -i -r '/template_dirs?:/i\ skip' test/converter_test.rb
|
||||
sed -i '/-T/i\ skip' test/{invoker,options}_test.rb
|
||||
%endif
|
||||
|
||||
LANG=C.UTF-8 ruby -I"lib:test" -e 'Dir.glob "./test/**/*_test.rb", &method(:require)'
|
||||
popd
|
||||
|
||||
%install
|
||||
@ -105,6 +106,7 @@ cp -a .%{gem_instdir}/man/*.1 \
|
||||
%{buildroot}%{mandir}/
|
||||
|
||||
%files
|
||||
%{!?_licensedir:%global license %%doc}
|
||||
%dir %{gem_instdir}
|
||||
%exclude %{gem_cache}
|
||||
%exclude %{gem_instdir}/asciidoctor.gemspec
|
||||
@ -129,68 +131,16 @@ cp -a .%{gem_instdir}/man/*.1 \
|
||||
%doc %{gem_docdir}
|
||||
|
||||
%changelog
|
||||
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 2.0.20-8
|
||||
- Bump release for October 2024 mass rebuild:
|
||||
Resolves: RHEL-64018
|
||||
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 2.0.12-4
|
||||
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
||||
Related: rhbz#1991688
|
||||
|
||||
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 2.0.20-7
|
||||
- Bump release for June 2024 mass rebuild
|
||||
* Fri Jun 11 2021 Vít Ondruch <vondruch@redhat.com> - 2.0.12-3
|
||||
- Enable test suite.
|
||||
Resolves: rhbz#1970776
|
||||
|
||||
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.20-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.20-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Fri Sep 29 2023 Mamoru TASAKA <mtasaka@fedoraproject.org> - 2.0.20-4
|
||||
- Apply the upstream PR to support ruby 3.3 Logger
|
||||
|
||||
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.20-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Thu May 25 2023 Todd Zullinger <tmz@pobox.com> - 2.0.20-2
|
||||
- improve ruby-2.5 compatibility (epel8)
|
||||
|
||||
* Thu May 18 2023 Todd Zullinger <tmz@pobox.com> - 2.0.20-1
|
||||
- update to asciidoctor 2.0.20 (rhbz#2208089)
|
||||
|
||||
* Wed May 17 2023 Todd Zullinger <tmz@pobox.com> - 2.0.19-1
|
||||
- update to asciidoctor 2.0.19 (rhbz#2208089)
|
||||
|
||||
* Mon Feb 20 2023 Todd Zullinger <tmz@pobox.com> - 2.0.18-3
|
||||
- fixes for ruby-3.2.x and rouge-4.1.0 (rhbz#2171711)
|
||||
|
||||
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.18-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Sat Oct 15 2022 Todd Zullinger <tmz@pobox.com> - 2.0.18-1
|
||||
- update to asciidoctor 2.0.18 (rhbz#1989716)
|
||||
|
||||
* 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
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Fri Jan 21 2022 Neal Gompa <ngompa@fedoraproject.org> - 2.0.15-3
|
||||
- Simplify RHEL conditionals
|
||||
|
||||
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.15-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Tue Apr 27 2021 Todd Zullinger <tmz@pobox.com> - 2.0.15-1
|
||||
- update to asciidoctor 2.0.15
|
||||
Resolves: rhbz#1954314
|
||||
- remove el6 conditionals
|
||||
|
||||
* Mon Apr 19 2021 Todd Zullinger <tmz@pobox.com> - 2.0.14-1
|
||||
- Update to asciidoctor 2.0.14
|
||||
Resolves: rhbz#1950947
|
||||
|
||||
* Sat Apr 10 2021 Todd Zullinger <tmz@pobox.com> - 2.0.13-1
|
||||
- Update to asciidoctor 2.0.13
|
||||
Resolves: rhbz#1948231
|
||||
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.0.12-2
|
||||
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
||||
|
||||
* Wed Jan 27 2021 Pavel Valena <pvalena@redhat.com> - 2.0.12-1
|
||||
- Update to asciidoctor 2.0.12.
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (asciidoctor-2.0.20.tar.gz) = b6b730de8f83e36630dc6146b4c0e07a26b502b695e78e50fc87790391126d52ef0b6b02b82ecb225adff680c94305b4e31403cc067bdbf1740e2d759417f440
|
||||
SHA512 (asciidoctor-2.0.12.tar.gz) = b1fdfd8907d19943bebc9040e3e541df81eb874bf9d53a174e5be8a804e117e7ee3cd21046a4a4142cdc285e6269796d06915b0f42f4f16ae1e8975e444a8a76
|
||||
|
@ -1,2 +0,0 @@
|
||||
test: ruby test-install
|
||||
path: /
|
Loading…
Reference in New Issue
Block a user