# Generated by go2rpm %bcond_without check # https://github.com/russross/blackfriday %global goipath gopkg.in/russross/blackfriday.v1 %global forgeurl https://github.com/russross/blackfriday Version: 1.6.0 %gometa %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: %autorelease Summary: Markdown processor for Go # Upstream license specification: BSD-2-Clause License: BSD URL: %{gourl} Source0: %{gosource} Source1: glide.yaml Source2: glide.lock # Remove in F43 Provides: golang-gopkg-russross-blackfriday-1 = %{version}-%{release} Obsoletes: golang-gopkg-russross-blackfriday-1 < 1.6.0-12 %global godevelheader %{expand: Provides: golang-gopkg-russross-blackfriday-1-devel = %{version}-%{release} Obsoletes: golang-gopkg-russross-blackfriday-1-devel < 1.6.0-12} %description %{common_description} %gopkg %prep %goprep cp %{S:1} %{S:2} . %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog %autochangelog