Blob Blame History Raw
# Generated by go2rpm
%bcond_without check

# https://github.com/soheilhy/cmux
%global goipath         github.com/soheilhy/cmux
Version:                0.1.4

%gometa

%global common_description %{expand:
Cmux is a generic Go library to multiplex connections based on their payload.
Using cmux, you can serve gRPC, SSH, HTTPS, HTTP, Go RPC, and pretty much any
other protocol on the same TCP listener.}

%global golicenses      LICENSE
%global godocs          CONTRIBUTORS README.md

Name:           %{goname}
Release:        3%{?dist}
Summary:        Connection multiplexer for Go: serve different services on the same port

# Upstream license specification: Apache-2.0
License:        ASL 2.0
URL:            %{gourl}
Source0:        %{gosource}

BuildRequires:  golang(golang.org/x/net/http2)
BuildRequires:  golang(golang.org/x/net/http2/hpack)

%description
%{common_description}

%gopkg

%prep
%goprep
rm example_test.go

%install
%gopkginstall

%if %{with check}
%check
%gocheck
%endif

%gopkgfiles

%changelog
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

* Sat Apr 27 15:44:19 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 0.1.4-2
- Update to new macros

* Thu Mar 14 2019 Robert-André Mauchin <zebob.m@gmail.com> - 0.1.4-1
- First package for Fedora