Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package gh for openSUSE:Factory checked in at 2022-02-18 23:02:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gh (Old) and /work/SRC/openSUSE:Factory/.gh.new.1958 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gh" Fri Feb 18 23:02:52 2022 rev:17 rq:955745 version:2.5.1 Changes: -------- --- /work/SRC/openSUSE:Factory/gh/gh.changes 2021-12-28 12:27:07.444506957 +0100 +++ /work/SRC/openSUSE:Factory/.gh.new.1958/gh.changes 2022-02-18 23:03:17.077411241 +0100 @@ -1,0 +2,17 @@ +Thu Feb 17 17:02:15 UTC 2022 - <ch...@computersalat.de> + +- Update to 2.5.1 + https://github.com/cli/cli/releases + * New features + - Add display name to codespaces prompts and JSON output by @veverkap in #5044 + - Add pr checks --watch flag by @endorama in #4519 + * Fixes + - auth login --with-token: fix authenticating git operations by @mislav in #5186 + - release create: respect discussion category when creating a release with assets by @k-jun in #5019 + - gist create: handle Windows-style file paths by @joshmgross in #5173 + - release create: warn about unpushed local git tag by @samcoe in #5104 + - Ignore EPIPE errors when writing to a closed pager by @mislav in #5143 + - Rotate our Windows code-signing certificates by @mislav in #5196 +- updated vendor.tar.gz + +------------------------------------------------------------------- @@ -220,0 +238,6 @@ +Tue Jun 15 12:37:31 UTC 2021 - Christian Wittmer <ch...@computersalat.de> + +- fix build for SLES12 + * fix Supplements: packageand(X:Y) + +------------------------------------------------------------------- @@ -341,0 +365,5 @@ + +------------------------------------------------------------------- +Fri Jan 22 19:15:41 UTC 2021 - ch...@computersalat.de + +- fix build for SLES12 Old: ---- gh-2.4.0.tar.gz New: ---- cli-2.5.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gh.spec ++++++ --- /var/tmp/diff_new_pack.iHODJp/_old 2022-02-18 23:03:18.869411101 +0100 +++ /var/tmp/diff_new_pack.iHODJp/_new 2022-02-18 23:03:18.873411101 +0100 @@ -1,7 +1,7 @@ # # spec file for package gh # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,13 +17,14 @@ %define goflags "-buildmode=pie -trimpath -mod=vendor -modcacherw" +%define sname cli Name: gh -Version: 2.4.0 +Version: 2.5.1 Release: 0 Summary: The official CLI for GitHub License: MIT URL: https://cli.github.com/ -Source0: https://github.com/cli/cli/archive/v%{version}.tar.gz#/gh-%{version}.tar.gz +Source0: https://github.com/cli/cli/archive/v%{version}.tar.gz#/%{sname}-%{version}.tar.gz Source1: vendor.tar.gz # Completions BuildRequires: fish @@ -40,7 +41,11 @@ Summary: Bash Completion for %{name} Requires: %{name} = %{version} Requires: bash-completion +%if 0%{?suse_version} == 1315 +Supplements: packageand(gh:bash-completion) +%else Supplements: (gh and bash-completion) +%endif BuildArch: noarch %description bash-completion @@ -49,7 +54,11 @@ %package zsh-completion Summary: ZSH Completion for %{name} Requires: %{name} = %{version} +%if 0%{?suse_version} == 1315 +Supplements: packageand(gh:zsh) +%else Supplements: (gh and zsh) +%endif BuildArch: noarch %description zsh-completion @@ -58,20 +67,29 @@ %package fish-completion Summary: Fish completion for %{name} Requires: %{name} = %{version} +%if 0%{?suse_version} == 1315 +Supplements: packageand(gh:fish) +%else Supplements: (gh and fish) +%endif BuildArch: noarch %description fish-completion Fish command line completion support for %{name}. %prep -%autosetup -n cli-%{version} -a 1 +%autosetup -n %{sname}-%{version} -a 1 # Upstream decided to tweak Makefile for easier cross-compiling. But the tweak # overrides variables so we need to remove them to pass GOFLAGS. sed -i 's/GOOS= GOARCH= GOARM= GOFLAGS= CGO_ENABLED=//g' Makefile %build -GOFLAGS=%{goflags} %make_build GH_VERSION="v%{version}" bin/gh manpages +export GOFLAGS="-buildmode=pie -trimpath -mod=vendor -modcacherw -ldflags=-linkmode=external" +%if 0%{?suse_version} == 1315 +make %{?_smp_mflags} GH_VERSION="v%{version}" bin/gh manpages +%else +%make_build GH_VERSION="v%{version}" bin/gh manpages +%endif %install bin/gh completion -s bash | install -Dm644 /dev/stdin \ ++++++ vendor.tar.gz ++++++ ++++ 15809 lines of diff (skipped)