From 51979eba2df71bd3c2bfeef8c22a8fe837c415db Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 8 Jun 2024 10:52:51 +0200 Subject: [PATCH] package created using the webbuild interface [release 1.1.0-1mamba;Fri Jun 07 2024] --- README.md | 1 + kramdown-parser-gfm-1.1.0.gem | Bin 0 -> 11776 bytes ...parser-gfm-1.1.0-ruby-kramdown-2.4.0.patch | 24 ++++++++ ruby-kramdown-parser-gfm.spec | 56 ++++++++++++++++++ 4 files changed, 81 insertions(+) create mode 100644 kramdown-parser-gfm-1.1.0.gem create mode 100644 ruby-kramdown-parser-gfm-1.1.0-ruby-kramdown-2.4.0.patch create mode 100644 ruby-kramdown-parser-gfm.spec diff --git a/README.md b/README.md index 07c209d..035bd15 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,3 @@ # ruby-kramdown-parser-gfm +kramdown-parser-gfm provides a kramdown parser for the GFM dialect of Markdown. diff --git a/kramdown-parser-gfm-1.1.0.gem b/kramdown-parser-gfm-1.1.0.gem new file mode 100644 index 0000000000000000000000000000000000000000..f087be5cc210170a6ed12e8a300439b742537c7e GIT binary patch literal 11776 zcmeHtWl&vBm+rycJ!tUY?&J{M-61#$?h^Fi8r1P>705;VA5;1CFIK>{4)?8$rY zk8kSxs_w0snyEXt>RnZ3WDf({<{qN_v3nddRcn>G0E4?*4F9YH~iD{ z|E>Lh&+Q+R`={>zQ>(P`=%B^$GgCyQA$@1pbs>ECl=;A}%1b4WIUE_3TJjrGWW%}V zYFM>HQkn}&+l+C~{9K%{PhHPrJx6W zKVf+Y>GdtCADpNC?dkUG(kffJ{w*dI=AxonIW63>LRQ+8 zi_45To;GznE3j$wtMF?HvqwpG%aGm(Gkf&eL?+-S#xU*ZNh!^eVMr>;^QvdP1EU+Q z%B_s4WO{Yq;H@POZjo`z;TqQl%(hd6g})w6JEO}sX$?eyiiRteTsV<&B5^`$dZKhE zpQ`ff+aW@DY-md7xM-Zq+D?&UvoaH(VW@E_huB)KyMkrpOp?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usEbjTV=}ps8@C7BUkv83$ndkH|Mf5nOZ>jSGWEB=5G)D N?Sa2N@c+FB{tY7^MfU&z literal 0 HcmV?d00001 diff --git a/ruby-kramdown-parser-gfm-1.1.0-ruby-kramdown-2.4.0.patch b/ruby-kramdown-parser-gfm-1.1.0-ruby-kramdown-2.4.0.patch new file mode 100644 index 0000000..5122139 --- /dev/null +++ b/ruby-kramdown-parser-gfm-1.1.0-ruby-kramdown-2.4.0.patch @@ -0,0 +1,24 @@ +From ad48572d75299355563fc20ba1dd90cbec35ba81 Mon Sep 17 00:00:00 2001 +From: Ashwin Maroli +Date: Wed, 22 Jul 2020 23:33:50 +0530 +Subject: [PATCH] Update test expectation to reflect current result + +The change in generated markup is external to the GFM Parser: +kramdown-2.2.0 changed output of MathJax math engine to be compatible with +MathJax v2 and v3. + +Resolves https://github.com/kramdown/parser-gfm/issues/19 +--- + test/testcases/header_ids.html | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/test/testcases/header_ids.html b/test/testcases/header_ids.html +index b45fe8f..f2fb65f 100644 +--- a/test/testcases/header_ids.html ++++ b/test/testcases/header_ids.html +@@ -24,4 +24,4 @@

With “smart” quotes

+ +

with — « typographic » … symbols

+ +-

with

++

with \(m=5\)

diff --git a/ruby-kramdown-parser-gfm.spec b/ruby-kramdown-parser-gfm.spec new file mode 100644 index 0000000..1257ee2 --- /dev/null +++ b/ruby-kramdown-parser-gfm.spec @@ -0,0 +1,56 @@ +Name: ruby-kramdown-parser-gfm +Version: 1.1.0 +Release: 1mamba +Summary: A kramdown parser for the GFM dialect of Markdown +Group: System/Libraries/Ruby +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/kramdown/parser-gfm +Source: https://rubygems.org/gems/kramdown-parser-gfm-%{version}.gem +Patch0: ruby-kramdown-parser-gfm-1.1.0-ruby-kramdown-2.4.0.patch +License: MIT +## AUTOBUILDREQ-BEGIN +## AUTOBUILDREQ-END +BuildRequires: ruby-devel +Requires: ruby +Requires: ruby-kramdown + +%description +kramdown-parser-gfm provides a kramdown parser for the GFM dialect of Markdown. + +#% debug_package + +%prep +%setup -q -c +cd kramdown-parser-gfm-%{version} +%patch 0 -p1 -b .ruby-kramdown-2.4.0 + +%build +cd kramdown-parser-gfm-%{version} +gem build ../kramdown-parser-gfm-%{version}.gemspec + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +cd kramdown-parser-gfm-%{version} + +gemdir="$(ruby -rrubygems -e'puts Gem.default_dir')" + +gem install --no-user-install --ignore-dependencies -i "%{buildroot}$gemdir" -n "%{buildroot}/usr/bin" %{SOURCE0} + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_libdir}/ruby/gems/*/cache/kramdown-parser-gfm-1.1.0.gem +%dir %{_libdir}/ruby/gems/*/gems/kramdown-parser-gfm-%{version} +%{_libdir}/ruby/gems/*/gems/kramdown-parser-gfm-%{version}/* +%dir %{_libdir}/ruby/gems/*/doc/kramdown-parser-gfm-%{version} +%{_libdir}/ruby/gems/*/doc/kramdown-parser-gfm-%{version}/* +%{_libdir}/ruby/gems/*/specifications/kramdown-parser-gfm-1.1.0.gemspec +%doc kramdown-parser-gfm-%{version}/COPYING + +%changelog +* Fri Jun 07 2024 Silvan Calarco 1.1.0-1mamba +- package created using the webbuild interface