## START: Set by rpmautospec ## (rpmautospec version 0.2.5) %define autorelease(e:s:pb:) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{?dist} ## END: Set by rpmautospec # Generated by go2rpm 1.6.0 %bcond_without check %global debug_package %{nil} # https://github.com/russross/blackfriday # github.com/russross/blackfriday/v2 should be packaged separately. %global goipath github.com/russross/blackfriday Version: 1.6.0 %gometa %global common_description %{expand: Blackfriday: a markdown processor for Go.} %global golicenses LICENSE.txt %global godocs README.md Name: %{goname} Release: %autorelease Summary: Blackfriday: a markdown processor for Go # Upstream license specification: BSD-2-Clause License: BSD URL: %{gourl} Source0: %{gosource} %description %{common_description} %gopkg %prep %goprep %generate_buildrequires %go_generate_buildrequires %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Wed Jan 26 2022 Maxwell G 1.6.0-1 - Initial package