diff --git a/golang-github-pelletier-toml.spec b/golang-github-pelletier-toml.spec index 3255eb7..c332a78 100644 --- a/golang-github-pelletier-toml.spec +++ b/golang-github-pelletier-toml.spec @@ -48,6 +48,8 @@ BuildRequires: golang(gopkg.in/yaml.v2) %prep %goprep cp %{S:1} %{S:2} . +# https://github.com/pelletier/go-toml/issues/428 +sed -i 's|unknown unit z in duration 1z|unknown unit \\\"z\\\" in duration \\\"1z\\\"|' marshal_test.go %build for cmd in cmd/* ; do