# Generated by go2rpm %bcond_without check # https://github.com/glycerine/go-unsnap-stream %global goipath github.com/glycerine/go-unsnap-stream %global commit 81cf024a9e0a906651886e23cb984a852a30b622 %gometa %global common_description %{expand: Small golang library for decoding the snappy streaming format.} %global golicenses LICENSE %global godocs README.md Name: %{goname} Version: 0 Release: 0.10%{?dist} Summary: Small Go library for decoding the snappy streaming format License: MIT URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/golang/snappy) %if %{with check} # Tests # It's a fork: I'd rather use the original from smartystreets # which is updated and already packaged. # BuildRequires: golang(github.com/glycerine/goconvey/convey) BuildRequires: golang(github.com/smartystreets/goconvey/convey) %endif %description %{common_description} %gopkg %prep %goprep # Convert to use the original from smartystreets # which is updated and already packaged, instead of the fork. sed -i "s|github.com/glycerine/goconvey|github.com/smartystreets/goconvey|" $(find . -name "*.go") %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Thu Jul 21 2022 Fedora Release Engineering - 0-0.10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering - 0-0.9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0-0.8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 0-0.7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 0-0.6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Sun Jul 26 19:41:25 CEST 2020 Robert-André Mauchin - 0-0.5.20200726git81cf024 - Bump to commit 81cf024a9e0a906651886e23cb984a852a30b622 * Wed Jan 29 2020 Fedora Release Engineering - 0-0.4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 0-0.3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sun Apr 28 23:07:53 CEST 2019 Robert-André Mauchin - 0-0.2.20190307gitf967730 - Update to new macros * Thu Mar 07 2019 Robert-André Mauchin - 0-0.1.20190307gitf967730 - First package for Fedora