## START: Set by rpmautospec ## (rpmautospec version 0.3.0) %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 3; 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.7.0 %bcond_without check %global debug_package %{nil} # https://github.com/gotestyourself/gotest.tools %global goipath gotest.tools %global forgeurl https://github.com/gotestyourself/gotest.tools Version: 3.3.0 %gometa %global goaltipaths gotest.tools/v3 %global common_description %{expand: A collection of packages to augment the Go testing package and support common patterns.} %global golicenses LICENSE LICENSE-difflib %global godocs CONTRIBUTING.md README.md Name: %{goname} Release: %autorelease Summary: A collection of packages to augment the Go testing package # Apache-2.0: main package # BSD-3-Clause: internal/difflib License: Apache-2.0 AND BSD-3-Clause URL: %{gourl} Source: %{gosource} %description %{common_description} %gopkg %prep %goprep mv internal/difflib/LICENSE LICENSE-difflib %generate_buildrequires %go_generate_buildrequires %install %gopkginstall %if %{with check} %check sed -i "s|gotest.tools/v3|gotest.tools|" $(find . -iname "*.go" -type f) for test in "TestMigrateFileReplacesTestingT" \ "TestMigrateFileWithNamedCmpPackage" \ "TestMigrateFileWithCommentsOnAssert" \ "TestMigrateFileConvertNilToNilError" \ "TestMigrateFileConvertAssertNew" \ "TestMigrateFileWithExtraArgs" \ "TestMigrate_AssertAlreadyImported" \ "TestMigrate_AssertAlreadyImportedWithAlias" \ "TestRunCommandWithErrors" \ "TestWaitOnSocketWithTimeout" \ ; do awk -i inplace '/^func.*'"$test"'\(/ { print; print "\tt.Skip(\"disabled failing test\")"; next}1' $(grep -rl $test) done %gocheck %endif %gopkgfiles %changelog * Sun Aug 07 2022 Robert-André Mauchin 3.3.0-3 - Update to 3.3.0 - Close: rhbz#2041209 * Sun Aug 07 2022 Robert-André Mauchin 3.3.0-2 - Update to 3.3.0 - Close: rhbz#2041209 * Sun Aug 07 2022 Robert-André Mauchin 3.3.0-1 - Update to 3.3.0 - Close: rhbz#2041209 * Thu Jul 21 2022 Fedora Release Engineering - 3.0.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering - 3.0.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 3.0.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 3.0.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sat Dec 26 10:05:21 CET 2020 Robert-André Mauchin - 3.0.3-1 - Update to 3.0.3 - Close: rhbz#1886649 * Sat Aug 01 2020 Fedora Release Engineering - 3.0.2-4 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 3.0.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Sat Jul 25 23:30:04 CEST 2020 Robert-André Mauchin - 3.0.2-2 - Add alternative import path * Sat Jul 25 22:43:31 CEST 2020 Robert-André Mauchin - 3.0.2-1 - Update to 3.0.2 * Thu Jan 30 01:46:48 CET 2020 Robert-André Mauchin - 3.0.0-1.20200130gita1378ce - Bump to commit a1378ce1d2f4f9e556528a94613c9e7536aa6b9d * Wed Jan 29 2020 Fedora Release Engineering - 2.3.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 2.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat May 04 17:56:46 CEST 2019 Robert-André Mauchin - 2.3.0-1 - Initial package