# Generated by go2rpm %bcond_without check # https://github.com/ianbruene/go-difflib/difflib %global goipath github.com/ianbruene/go-difflib Version: 1.2.0 %gometa %global common_description %{expand: Go-difflib is an as yet partial port of python 3's difflib package. The following publicly visible classes and functions have been ported: - SequenceMatcher - Differ - unified_diff() - context_diff()} %global golicenses LICENSE Name: %{goname} Release: 1%{?dist} Summary: Difflib package's Go implementation # License: BSD URL: %{gourl} Source0: %{gosource} %description %{common_description} %gopkg %prep %goprep sed -i -r 's|"\.+/tester"|"github.com/ianbruene/go-difflib/difflib/tester"|g' \ difflib/difflib_test.go difflib/bytes/bytes_test.go %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Thu Jun 18 2020 Denis Fateyev - 1.2.0-1 - Initial Fedora RPM release