## START: Set by rpmautospec ## (rpmautospec version 0.3.0) %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.8.2 %bcond_without check # https://github.com/hickford/git-credential-oauth %global goipath github.com/hickford/git-credential-oauth Version: 0.4.2 %gometa -f %global common_description %{expand: A Git credential helper that authenticates to GitHub, GitLab, BitBucket and other forges using OAuth. The first time you push, the helper will open a browser window to authenticate. Subsequent pushes within the cache timeout require no interaction.} %global golicenses LICENSE.txt %global godocs CONTRIBUTING.md README.md Name: git-credential-oauth Release: %autorelease Summary: Git credential helper for GitHub and other forges using OAuth License: Apache-2.0 URL: %{gourl} Source: %{gosource} Enhances: git Recommends: xdg-utils %description %{common_description} %gopkg %prep %goprep %generate_buildrequires %go_generate_buildrequires %build %gobuild -o %{gobuilddir}/bin/git-credential-oauth %{goipath} %install %gopkginstall install -m 0755 -vd %{buildroot}%{_bindir} install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ %if %{with check} %check %gocheck %endif %files %license LICENSE.txt %doc CONTRIBUTING.md README.md %{_bindir}/git-credential-oauth %gopkgfiles %changelog * Tue Jan 24 2023 M Hickford 0.4.2-1 - New upstream version 0.4.2 * Mon Jan 23 2023 M Hickford 0.4.1-1 - New upstream version 0.4.1 * Thu Jan 19 2023 Fedora Release Engineering 0.1.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Tue Dec 06 2022 M Hickford 0.1.5-1 - Initial import (fedora#2142391).