# Generated by go2rpm %bcond_without check # https://github.com/paulrosania/go-charset %global goipath github.com/paulrosania/go-charset %global commit 55c9d7a5834c4d034b34bf042103dbc646887f4f %gometa %global common_description %{expand: A fork of go-charset, which itself is a port of inferno's convcs for Go, which supports conversion to and from UTF-8.} %global golicenses LICENSE %global godocs README.md Name: %{goname} Version: 0 Release: 0.4%{?dist} Summary: Character set conversion for Go # Upstream license specification: BSD-3-Clause License: BSD URL: %{gourl} Source0: %{gosource} # Changes /usr/local/lib/go-charset/datafiles to /usr/share/go-charset/datafiles Patch0: charsetdir-fedora-fix.patch %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Tue May 28 16:04:16 CEST 2019 Robert-André Mauchin - 0-0.4.20190528git55c9d7a - Bump to commit 55c9d7a5834c4d034b34bf042103dbc646887f4f * Fri Feb 01 2019 Fedora Release Engineering - 0-0.3.20151028git621bb39 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0-0.2.20151028git621bb39 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Feb 15 2018 Jiri Kucera - 0-0.1.20151028git621bb39 - First package for Fedora this package is required by golang-github-elazarl-goproxy package, which is a dependency of bettercap 2.0.0 (resolves #1540726); patch charsetdir-fedora-fix.patch changes /usr/local/lib/go-charset/datafiles to /usr/share/go-charset/datafiles to met the Fedora Packaging Guidelines requirements; patch sprintf-fatalf-invalid-args-fix.patch fixes ill-formed format string in fmt.Sprintf (charset/ascii.go) and forgotten t.Fatalf arguments (charset/charset_test.go)