# Generated by go2rpm %bcond_without check # https://github.com/knz/go-libedit %global goipath github.com/knz/go-libedit Version: 1.9.1 %gometa %global godevelheader %{expand: Requires: pkgconfig(libedit)} %global common_description %{expand: Go wrapper around libedit, a replacement to GNU readline using the BSD license.} %global golicenses LICENSE %global godocs README.md Name: %{goname} Release: 1%{?dist} Summary: Go wrapper around the BSD libedit replacement to GNU readline # Upstream license specification: Apache-2.0 License: ASL 2.0 URL: %{gourl} Source0: %{gosource} # Patch to use system libedit Patch0: 0001-Use-system-libedit.patch BuildRequires: pkgconfig(libedit) %description %{common_description} %gopkg %prep %goprep %patch0 -p1 %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Wed May 15 22:29:30 CEST 2019 Robert-André Mauchin - 1.9.1-1 - Initial package