# Generated by go2rpm # Tests are broken %bcond_with check # https://github.com/apache/thrift %global goipath github.com/apache/thrift Version: 0.12.0 %global tag 0.12.0 %gometa %global goaltipaths git.apache.org/thrift.git %global common_description %{expand: Thrift is a lightweight, language-independent software stack with an associated code generation mechanism for point-to-point RPC. Thrift provides clean abstractions for data transport, data serialization, and application level processing. The code generation system takes a simple definition language as input and generates code across programming languages that uses the abstracted stack to build interoperable RPC clients and servers.} Name: %{goname} Release: 3%{?dist} Summary: Thrift Go Software Library License: ASL 2.0 URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/golang/mock/gomock) %description %{common_description} %gopkg %prep %goprep # Remove files unrelated to the Go Library find ./* -maxdepth 0 -type d -not -name "lib" -and -not -name "_build" -exec rm -rf "{}" \; find ./lib -mindepth 1 -maxdepth 1 -type d -not -name "go" -exec rm -rf "{}" \; rm -rf lib/go/test %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Thu Apr 18 21:04:58 CEST 2019 Robert-André Mauchin - 0.12.0-3 - Update to new Go packaging * Sun Mar 17 2019 Robert-André Mauchin - 0.12.0-2 - Add github.com/apache/thrift as alternate import path * Sat Mar 09 2019 Robert-André Mauchin - 0.12.0-1 - Release 0.12.0 * Thu Jan 31 2019 Fedora Release Engineering - 0.11.0-0.4.git129f332 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0.11.0-0.3.git129f332 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Jun 28 2018 Robert-André Mauchin - 0.11.0-0.2.20180628git129f332 - Bump to commit 129f332d72facda5d06f87e2b4e5e08bea0b6b44 * Thu Mar 22 2018 Robert-André Mauchin - 0.11.0-0.1.20180417git50bfc56 - First package for Fedora