# Generated by go2rpm %bcond_without check %bcond_with bootstrap # https://github.com/golang/net %global goipath golang.org/x/net %global forgeurl https://github.com/golang/net %global commit 5f4716e94777e714bc2fb3e3a44599cb40817aac %gometa %global godevelheader %{expand: Obsoletes: golang-googlecode-net-devel < 0-0.5 Obsoletes: golang-golang-org-net-devel < 0-0.5 } %global goipaths0 golang.org/x/net %global goipathsex0 golang.org/x/net/http golang.org/x/net/http2 golang.org/x/net/html/charset golang.org/x/net/idna golang.org/x/net/publicsuffix %if %{without bootstrap} %global goipaths1 golang.org/x/net/http golang.org/x/net/http2 golang.org/x/net/html/charset golang.org/x/net/idna golang.org/x/net/publicsuffix %endif %global common_description %{expand: This package holds supplementary Go networking libraries.} %global golicenses LICENSE PATENTS %global godocs AUTHORS CONTRIBUTING.md CONTRIBUTORS README.md %global gosupfiles glide.lock glide.yaml Name: %{goname} Version: 0 %define subrel 1 Release: %mkrel 0.6 Summary: Go supplementary network libraries Group: Development/Other # Upstream license specification: BSD-3-Clause License: BSD URL: %{gourl} Source0: %{gosource} Source1: glide.lock Source2: glide.yaml # BuildRequires: golang(cloud.google.com/go/storage) # BuildRequires: golang(go4.org/syncutil/singleflight) # BuildRequires: golang(golang.org/x/build/autocertcache) # BuildRequires: golang(golang.org/x/crypto/acme/autocert) BuildRequires: golang(golang.org/x/sys/unix) # BuildRequires: golang(golang.org/x/term) %if %{without bootstrap} BuildRequires: golang(golang.org/x/text/encoding) BuildRequires: golang(golang.org/x/text/encoding/charmap) BuildRequires: golang(golang.org/x/text/encoding/htmlindex) BuildRequires: golang(golang.org/x/text/secure/bidirule) BuildRequires: golang(golang.org/x/text/transform) BuildRequires: golang(golang.org/x/text/unicode/bidi) BuildRequires: golang(golang.org/x/text/unicode/norm) %endif BuildArch: noarch %description %{common_description} %gopkg %prep %goprep cp %{SOURCE1} %{SOURCE2} . # Demo, with cyclic dependency on cloud.google.com/go/storage rm -rf http2/h2demo %install %gopkginstall %if %{with check} %check %if %{with bootstrap} %gocheck -t http/httpguts -t http/httpproxy -t http2 -t html/charset -t idna -t publicsuffix %else %gocheck %endif %endif %gopkgfiles %changelog * Sat May 14 2022 guillomovitch <guillomovitch> 0-0.6.1.mga8 + Revision: 1858136 - new git snapshot (fix CVE-2021-33194) * Sat Aug 29 2020 guillomovitch <guillomovitch> 0-0.6.mga8 + Revision: 1619597 - obsoletes golang-golang-org-net-devel too * Sat Aug 29 2020 guillomovitch <guillomovitch> 0-0.5.mga8 + Revision: 1619582 - renaming - newer snapshot - rename to golang-x-net * Sat Jun 27 2020 joequant <joequant> 0-0.4.mga8 + Revision: 1599461 - fix build * Sat Feb 15 2020 umeabot <umeabot> 0-0.3.mga8 + Revision: 1524257 - Mageia 8 Mass Rebuild * Fri Mar 29 2019 pterjan <pterjan> 0-0.2.mga7 + Revision: 1380978 - Update to commit 16b79f2e4e95ea23b2bf9903c9809ff7b013ce85 to fix CVE-2018-17143, CVE-2018-17142, CVE-2018-17075, CVE-2018-17846, CVE-2018-17847, CVE-2018-17848 * Mon Nov 19 2018 pterjan <pterjan> 0-0.1.20181118gitdb08ff0.mga7 + Revision: 1331632 - Add Group - imported package golang-googlecode-net