## START: Set by rpmautospec ## (rpmautospec version 0.3.0) %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 2; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # Generated by go2rpm 1.6.0 %bcond_without check %global debug_package %{nil} # https://github.com/lucas-clemente/quic-go %global goipath github.com/lucas-clemente/quic-go %global commit a81365ece88ce9d4601ef140073abadc7657fec8 Version: 0.31.1 %gometa %global common_description %{expand: A QUIC implementation in pure go.} %global golicenses LICENSE %global godocs docs example Changelog.md README.md Name: %{goname} Release: %autorelease Summary: QUIC implementation in pure go License: MIT URL: %{gourl} Source0: %{gosource} %description %{common_description} %gopkg %prep %goprep %generate_buildrequires %go_generate_buildrequires # XXX: Manually add dependency that generator missed %if 0%{?fedora} >= 38 echo 'golang(github.com/quic-go/qtls-go1-20)' %endif %install %gopkginstall %if %{with check} %check %ifarch s390x # two test fail fo s390x # [Fail] OOB Conn Test ECN conn [It] reads ECN flags on IPv6 # [Fail] OOB Conn Test ECN conn [It] reads ECN flags on a connection that supports both IPv4 and IPv6 rm sys_conn_oob_test.go # [Fail] HTTP 0.9 integration tests [It] performs request # [Fail] HTTP 0.9 integration tests [It] allows setting of headers rm interop/http09/http_test.go %endif # Fails randomly building in koji #[Fail] Server server accepting connections that completed the handshake handling packets [It] drops packets if the receive queue is full SAVEIFS=$IFS IFS=$(echo -en "\n") for test in "drops packets if the receive queue is full" \ ; do awk -i inplace '/It\("'$test'"/ { print; print "\t\t\t\tSkip(\"disabled failing test\")"; next}1' $(grep -rl $test) done IFS=$SAVEIFS %gocheck %endif %gopkgfiles %changelog * Thu Jan 19 2023 Maxwell G 0.31.1-2 - Manually add dependency that generator missed * Wed Jan 18 2023 Maxwell G 0.31.1-1 - Bump to a81365ece88ce9d4601ef140073abadc7657fec8. - Closes: rhbz#2129454. * Mon Aug 29 2022 Mikel Olasagasti Uranga 0.28.1-3 - Skip test that fails randomly in koji * Wed Aug 10 2022 Maxwell G 0.28.1-2 - Rebuild to fix FTBFS * Mon Aug 01 2022 Mikel Olasagasti Uranga 0.28.1-1 - Update to 0.28.1 - Closes rhbz#2103386 * Thu Jul 21 2022 Fedora Release Engineering 0.27.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jun 09 2022 Mikel Olasagasti Uranga 0.27.2-1 - Update to 0.27.2 * Thu Jan 20 2022 Fedora Release Engineering 0.23.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Mon Sep 13 2021 Robert-André Mauchin 0.23.0-1 - Update to 0.23.0 Close: rhbz#1941089, rhbz#1987532 * Mon Aug 02 2021 Robert-André Mauchin 0.22.0-2 - Fix for failing test * Mon Aug 02 2021 Robert-André Mauchin 0.22.0-1 - Update to 0.22.0 Close: rhbz#1987532, rhbz#1941089 * Thu Jul 22 2021 Fedora Release Engineering - 0.19.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 0.19.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sun Jan 24 21:14:39 CET 2021 Robert-André Mauchin - 0.19.3-2.20210124gitf1500db - Bump to commit f1500db0622ed44695263251f33d9f0e14992ad9 to fix FTBFS with Go 1.16 * Mon Dec 21 03:14:57 CET 2020 Robert-André Mauchin - 0.19.3-1 - Update to 0.19.3 - Close: rhbz#1886577 * Sun Aug 23 21:30:18 CEST 2020 Robert-André Mauchin - 0.18.0-1 - Update to 0.18.0 * Sat Aug 01 2020 Fedora Release Engineering - 0.17.2-3 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 0.17.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jul 07 00:03:54 CEST 2020 Robert-André Mauchin - 0.17.2-1 - Update to 0.17.2 (#1803692, #1742501) * Wed Feb 12 23:43:22 CET 2020 Robert-André Mauchin - 0.14.3-1.20200213gitdd035c2 - Update to 0.14.3, commit dd035c2f12fcfe656333a419a18a930af351a268 * Wed Jan 29 2020 Fedora Release Engineering - 0.11.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 0.11.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat May 18 18:51:25 CEST 2019 Robert-André Mauchin - 0.11.1-1 - Initial package