# Generated by go2rpm %bcond_without check # https://github.com/inconshreveable/go-vhost %global goipath github.com/inconshreveable/go-vhost %global commit 06d84117953b22058c096b49a429ebd4f3d3d97b %gometa %global common_description %{expand: Go-vhost is a simple library that lets you implement virtual hosting functionality for different protocols (HTTP and TLS so far). Go-vhost has a high-level and a low-level interface. The high-level interface lets you wrap existing net.Listeners with "muxer" objects. You can then Listen() on a muxer for a particular virtual host name of interest which will return to you a net.Listener for just connections with the virtual hostname of interest. The lower-level Go-vhost interface are just functions which extract the name/routing information for the given protocol and return an object implementing net.Conn which works as if no bytes had been consumed.} %global golicenses LICENSE %global godocs README.md Name: %{goname} Version: 0 Release: 0.1%{?dist} Summary: HTTP/TLS hostname multiplexing library for Go # Upstream license specification: Apache-2.0 License: ASL 2.0 URL: %{gourl} Source0: %{gosource} # https://github.com/inconshreveable/go-vhost/pull/7 Patch0: mux_test-missing-format-string.patch %description %{common_description} %gopkg %prep %goprep %patch0 -p1 %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Fri May 10 14:37:58 CEST 2019 Robert-André Mauchin - 0-0.4.20160627git06d8411 - Update to new macros * Fri Feb 01 2019 Fedora Release Engineering - 0-0.3.20160627git06d8411 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0-0.2.20160627git06d8411 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Mon Feb 12 2018 Jiri Kucera - 0-0.1.20160627git06d8411 - First package for Fedora resolves #1540726 patch `mux_test-missing-format-string.patch` is needed to resolve https://github.com/inconshreveable/go-vhost/pull/7