## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; 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.10.0 %bcond_without check %global debug_package %{nil} # https://github.com/cli/go-gh %global goipath github.com/cli/go-gh Version: 2.8.0 %gometa -L -f %global goaltipaths github.com/cli/go-gh/v2 %global common_description %{expand: A Go module for interacting with gh and the GitHub API from the command line.} %global golicenses LICENSE %global godocs README.md Name: golang-github-cli-gh Release: %autorelease Summary: A Go module for interacting with gh and the GitHub API from the command line License: MIT URL: %{gourl} Source: %{gosource} BuildRequires: git-core %description %{common_description} %gopkg %prep %goprep -A %autopatch -p1 %generate_buildrequires %go_generate_buildrequires %install %gopkginstall %if %{with check} %check for test in "TestGQLClientDoWithContext" "TestRESTClientDoWithContext" "TestRESTClientRequestWithContext" "TestGraphQLClientDoWithContext" \ ; do awk -i inplace '/^func.*'"$test"'\(/ { print; print "\tt.Skip(\"disabled failing test\")"; next}1' $(grep -rl $test) done %gocheck %endif %gopkgfiles %changelog ## START: Generated by rpmautospec * Sat Apr 06 2024 Mikel Olasagasti Uranga - 2.8.0-1 - Update to 2.8.0 - Closes rhbz#2267872 * Tue Mar 05 2024 Mikel Olasagasti Uranga - 2.6.0-1 - Update to 2.6.0 * Mon Feb 05 2024 Mikel Olasagasti Uranga - 2.5.0-1 - Update to 2.5.0 - Closes rhbz#2262231 * Wed Jan 24 2024 Fedora Release Engineering - 2.4.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Fedora Release Engineering - 2.4.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Tue Nov 28 2023 Mikel Olasagasti Uranga - 2.4.0-2 - Update to latest commit required by gh * Thu Nov 02 2023 Mikel Olasagasti Uranga - 2.4.0-1 - Update to 2.4.0 and latest commit - Closes rhbz#2243800 * Sun Sep 24 2023 Mikel Olasagasti Uranga - 2.3.0-1 - Update to 2.3.0 - Closes rhbz#2232077 * Wed Jul 26 2023 Mikel Olasagasti Uranga - 2.1.0-1 - Update to 2.1.0 - Closes rhbz#2225399 * Thu Jul 20 2023 Fedora Release Engineering - 2.0.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri Jun 23 2023 Mikel Olasagasti Uranga - 2.0.1-1 - Update to 2.0.1 - Closes rhbz#2213240 * Tue Apr 25 2023 Mikel Olasagasti Uranga - 2.0.0-1 - Update to 2.0.0 - Closes rhbz#2187122 * Sat Mar 11 2023 Mikel Olasagasti Uranga - 1.2.1-2 - Update to 1.2.1 - Closes rhbz#2169060 * Sat Mar 11 2023 Mikel Olasagasti Uranga - 1.2.1-1 - Update to 1.2.1 - Closes rhbz#2169060 * Thu Jan 19 2023 Fedora Release Engineering - 1.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Tue Nov 22 2022 Mikel Olasagasti Uranga - 1.0.0-1 - Update to 1.0.0 - Closes rhbz#2143474 * Sat Oct 22 2022 Mikel Olasagasti Uranga - 0.1.2-1 - Update to 0.1.2 * Fri Sep 23 2022 Mikel Olasagasti Uranga - 0.1.0-4 - Update to latest commit * Mon Sep 05 2022 Maxwell G - 0.1.0-3 - Add patch to fix test failures with Go 1.16 * Wed Aug 24 2022 Mikel Olasagasti Uranga - 0.1.0-2 - Update to latest commit * Thu Aug 11 2022 Mikel Olasagasti Uranga - 0.1.0-1 - Update to 0.1.0 * Sat Jul 30 2022 Mikel Olasagasti Uranga - 0.0.3-4 - Update to latest commit * Thu Jul 21 2022 Fedora Release Engineering - 0.0.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jul 14 2022 Mikel Olasagasti Uranga - 0.0.3-2 - Update to latest commit * Tue Jun 14 2022 Mikel Olasagasti Uranga - 0.0.3-1 - Initial package - Closes rhbz#2095581 ## END: Generated by rpmautospec