# Generated by go2rpm %bcond_without check # https://github.com/russross/blackfriday %global goipath gopkg.in/russross/blackfriday.v2 %global forgeurl https://github.com/russross/blackfriday Version: 2.0.1 %gometa %global goaltipaths github.com/russross/blackfriday/v2 %global common_description %{expand: Blackfriday is a Markdown processor implemented in Go. It is paranoid about its input (so you can safely feed it user-supplied data), it is fast, it supports common extensions (tables, smart punctuation substitutions, etc.), and it is safe for all utf-8 (unicode) input. HTML output is currently supported, along with Smartypants extensions.} %global golicenses LICENSE.txt %global godocs README.md %global gosupfiles glide.lock glide.yaml Name: %{goname} Release: 4%{?dist} Summary: Markdown processor for Go # Upstream license specification: BSD-2-Clause License: BSD URL: %{gourl} Source0: %{gosource} Source1: glide.yaml Source2: glide.lock BuildRequires: golang(github.com/shurcooL/sanitized_anchor_name) %if %{with check} # Tests BuildRequires: golang(github.com/pmezard/go-difflib/difflib) %endif %description %{common_description} %gopkg %prep %goprep cp %{S:1} %{S:2} . %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Thu Apr 25 17:55:52 CEST 2019 Robert-André Mauchin - 2.0.1-4 - Update to new macros * Fri Feb 01 2019 Fedora Release Engineering - 2.0.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Thu Oct 25 2018 Robert-André Mauchin - 2.0.1-2 - Install both v1 and v2 version * Thu Oct 25 2018 Robert-André Mauchin - 2.0.1-1 - Update to release 2.0.1