# Generated by go2rpm %bcond_without check # https://gitlab.com/golang-commonmark/markdown %global goipath gitlab.com/golang-commonmark/markdown %global forgeurl https://gitlab.com/golang-commonmark/markdown %global commit 91b5b3c99c19293be22fcab0a775ff39ee14387f %gometa %global goaltipaths github.com/golang-commonmark/markdown %global common_description %{expand: Package Golang-commonmark/markdown provides a CommonMark-compliant markdown parser and renderer, written in Go.} %global golicenses LICENSE %global godocs AUTHORS README.md Name: %{goname} Version: 0 Release: 0.9%{?dist} Summary: CommonMark-compliant markdown parser and renderer in Go # Upstream license specification: BSD-2-Clause License: BSD URL: %{gourl} Source0: %{gosource} BuildRequires: golang(gitlab.com/golang-commonmark/html) BuildRequires: golang(gitlab.com/golang-commonmark/linkify) BuildRequires: golang(gitlab.com/golang-commonmark/mdurl) BuildRequires: golang(gitlab.com/golang-commonmark/puny) %if %{with check} # Tests BuildRequires: golang(github.com/russross/blackfriday/v2) BuildRequires: golang(gitlab.com/opennota/wd) %endif %description %{common_description} %gopkg %prep %goprep sed -i 's|github.com/russross/blackfriday|github.com/russross/blackfriday/v2|' $(find . -iname "*.go" -type f) %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Thu Jul 21 2022 Fedora Release Engineering - 0-0.9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering - 0-0.8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0-0.7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 0-0.6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Aug 05 13:27:58 CEST 2020 Robert-André Mauchin - 0-0.5.20200805git91b5b3c - Bump to commit 91b5b3c99c19293be22fcab0a775ff39ee14387f * Mon Jul 27 2020 Fedora Release Engineering - 0-0.4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jan 29 2020 Fedora Release Engineering - 0-0.3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 0-0.2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Wed May 15 21:22:44 CEST 2019 Robert-André Mauchin - 0-0.1.20190701git7727758 - Initial package