## START: Set by rpmautospec ## (rpmautospec version 0.3.0) %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 12; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # Generated by go2rpm 1 %bcond_without check # https://github.com/yuin/goldmark-highlighting %global goipath github.com/yuin/goldmark-highlighting %global commit 594be197059432cf7d2c85f446982f6d704c4b35 %gometa %global common_description %{expand: A Syntax highlighting extension for the goldmark markdown parser.} %global golicenses LICENSE %global godocs README.md Name: %{goname} Version: 0 Release: %autorelease -p Summary: A Syntax highlighting extension for the goldmark markdown parser License: MIT URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/alecthomas/chroma) >= 0.10.0 BuildRequires: golang(github.com/alecthomas/chroma/formatters/html) BuildRequires: golang(github.com/alecthomas/chroma/lexers) BuildRequires: golang(github.com/alecthomas/chroma/styles) BuildRequires: golang(github.com/yuin/goldmark) >= 1.4.5 BuildRequires: golang(github.com/yuin/goldmark/ast) BuildRequires: golang(github.com/yuin/goldmark/parser) BuildRequires: golang(github.com/yuin/goldmark/renderer) BuildRequires: golang(github.com/yuin/goldmark/renderer/html) BuildRequires: golang(github.com/yuin/goldmark/text) BuildRequires: golang(github.com/yuin/goldmark/util) %description %{common_description} %gopkg %prep %goprep %autopatch -p1 %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Thu Jan 19 2023 Fedora Release Engineering 0-0.12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Jul 21 2022 Fedora Release Engineering 0-0.11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Sun Feb 13 2022 Elliott Sales de Andrade 0-0.10 - Update to commit 594be197059432cf7d2c85f446982f6d704c4b35 * Sun Jan 30 2022 Elliott Sales de Andrade 0-0.9 - Add patch for chroma 0.10.0 * Sun Jan 30 2022 Elliott Sales de Andrade 0-0.8 - Update to commit 9216f9c5aa010c549cc9fc92bb2593ab299f90d4 * Thu Jan 20 2022 Fedora Release Engineering - 0-0.6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0-0.5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 0-0.4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jan 13 18:44:50 CET 2021 Robert-André Mauchin - 0-0.3.20210113git60d527f - Bump to commit 60d527fdb691b855b41a5b21ac612baca3a1dc1a * Mon Jul 27 2020 Fedora Release Engineering - 0-0.2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Feb 18 04:12:16 EST 2020 Elliott Sales de Andrade - 0-0.1.20200218gitd1af22c - Initial package