Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package gh for openSUSE:Factory checked in at 2021-04-14 10:10:38 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gh (Old) and /work/SRC/openSUSE:Factory/.gh.new.2401 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gh" Wed Apr 14 10:10:38 2021 rev:5 rq:884868 version:1.8.1 Changes: -------- --- /work/SRC/openSUSE:Factory/gh/gh.changes 2021-03-10 08:58:51.654988422 +0100 +++ /work/SRC/openSUSE:Factory/.gh.new.2401/gh.changes 2021-04-14 10:11:02.825500580 +0200 @@ -1,0 +2,16 @@ +Tue Apr 13 07:50:34 UTC 2021 - Martin Pluskal <mplus...@suse.com> + +- Supplement bash-completion instead of bash + +------------------------------------------------------------------- +Mon Apr 12 08:17:36 UTC 2021 - Mustafa ??al????kan <mus...@protonmail.com> + +- Update to version 1.8.1: + * Fix pr status/checks crash with unrecognized statuse from + the server(#3336) + * Fix repo fork --clone not cloning an existing fork locally + when running non-interactively(#3334) + * Fix commands not respecting default hostname from GH_HOST(#3347) +- Create subpackages for completions + +------------------------------------------------------------------- Old: ---- gh-1.7.0.tar.gz New: ---- gh-1.8.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gh.spec ++++++ --- /var/tmp/diff_new_pack.EiJBGc/_old 2021-04-14 10:11:03.525501762 +0200 +++ /var/tmp/diff_new_pack.EiJBGc/_new 2021-04-14 10:11:03.529501769 +0200 @@ -17,7 +17,7 @@ Name: gh -Version: 1.7.0 +Version: 1.8.1 Release: 0 Summary: The official CLI for GitHub License: MIT @@ -25,21 +25,60 @@ URL: https://cli.github.com/ Source0: https://github.com/cli/cli/archive/v%{version}.tar.gz#/gh-%{version}.tar.gz Source1: vendor.tar.gz +BuildRequires: fish BuildRequires: golang(API) >= 1.13 +BuildRequires: zsh Requires: git %description Official CLI client for GitHub written in Go +%package bash-completion +Summary: Bash Completion for %{name} +Group: Development/Tools/Version Control +Requires: %{name} = %{version} +Requires: bash-completion +Supplements: (gh and bash-completion) +BuildArch: noarch + +%description bash-completion +Bash command line completion support for %{name}. + +%package zsh-completion +Summary: ZSH Completion for %{name} +Group: Development/Tools/Version Control +Requires: %{name} = %{version} +Supplements: (gh and zsh) +BuildArch: noarch + +%description zsh-completion +ZSH command line completion support for %{name}. + +%package fish-completion +Summary: Fish completion for %{name} +Group: Development/Tools/Version Control +Requires: %{name} = %{version} +Supplements: (gh and fish) +BuildArch: noarch + +%description fish-completion +Fish command line completion support for %{name}. + %prep -%setup -q -n cli-%{version} -%setup -q -T -D -n cli-%{version} -a 1 +%autosetup -n cli-%{version} -a 1 %build export GOFLAGS="-buildmode=pie -trimpath -mod=vendor -modcacherw -ldflags=-linkmode=external" %make_build GH_VERSION="v%{version}" bin/gh manpages %install +bin/gh completion -s bash | install -Dm644 /dev/stdin \ + %{buildroot}%{_datadir}/bash-completion/completions/gh +bin/gh completion -s zsh | install -Dm644 /dev/stdin \ + %{buildroot}%{_datadir}/zsh/site-functions/_gh +bin/gh completion -s fish | install -Dm644 /dev/stdin \ + %{buildroot}%{_datadir}/fish/vendor_completions.d/gh.fish + install -D -m 0755 bin/gh %{buildroot}%{_bindir}/gh install -d %{buildroot}%{_mandir}/man1/ cp share/man/man1/* %{buildroot}%{_mandir}/man1 @@ -50,4 +89,13 @@ %{_bindir}/gh %{_mandir}/man1/* +%files bash-completion +%{_datadir}/bash-completion/completions/gh + +%files zsh-completion +%{_datadir}/zsh/site-functions/_gh + +%files fish-completion +%{_datadir}/fish/vendor_completions.d/gh.fish + %changelog ++++++ gh-1.7.0.tar.gz -> gh-1.8.1.tar.gz ++++++ ++++ 13782 lines of diff (skipped) ++++++ vendor.tar.gz ++++++ ++++ 22763 lines of diff (skipped)