SHA256
1
0
forked from pool/tig

Accepting request 989095 from devel:tools:scm

OBS-URL: https://build.opensuse.org/request/show/989095
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tig?expand=0&rev=50
This commit is contained in:
Dominique Leuenberger 2022-07-14 14:34:06 +00:00 committed by Git OBS Bridge
commit e474f30129
4 changed files with 75 additions and 7 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:24ba2c8beae889e6002ea7ced0e29851dee57c27fde8480fb9c64d5eb8765313
size 1175752

3
tig-2.5.6.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:50bb5f33369b50b77748115c730c52b13e79b2de49cba7167bb634eb683d965f
size 1176006

View File

@ -1,3 +1,38 @@
-------------------------------------------------------------------
Wed Jul 13 20:31:12 UTC 2022 - Andreas Stieger <andreas.stieger@gmx.de>
- tig 2.5.5 added pcre2 support. Actually build with it.
- fix bash and zsh completion packaging for Factory
-------------------------------------------------------------------
Wed Jul 13 07:15:57 UTC 2022 - Michael Vetter <mvetter@suse.com>
- Update to 2.5.6:
* Fix :goto <tag>. (#1178)
* Fix typo in ui.c.
* Revert terminal hacks and workarounds. (#748, #943, #1180, #1182)
* Fix opening of an ambiguous ref in refs view.
* Fix search when view is loading.
* Use the full width for diffstat in the stage view.
* Improve escaping of variables in external commands.
* Fix cursor behaviour during staging. (#842, #1028)
* Fix navigation in split tree view.
* Enable textconv in the stage view.
* Enable textconv in the blame view and fix blame -L. (#978, #1189)
* Update lineno for untracked files. (#1192)
* Fix alignment of transliterated text. (#1195)
* Fix word diff in the stage, stash and blame views. (#1207)
* Fix reading the value of status.showUntrackedFiles. (#1211)
* Honor commit_title:no in view settings.
* Fix segfault with PCRE.
-------------------------------------------------------------------
Sun Jun 26 13:18:06 UTC 2022 - Timothy Brown <stimut@gmail.com>
- Split out tig-bash-completion package
* Removes dependency on bash-completion from main tig package
- Add tig-zsh-completion package
-------------------------------------------------------------------
Thu Jan 13 13:59:25 UTC 2022 - Michael Vetter <mvetter@suse.com>

View File

@ -17,7 +17,7 @@
Name: tig
Version: 2.5.5
Version: 2.5.6
Release: 0
Summary: An ncurses-based text-mode interface for git
License: GPL-2.0-or-later
@ -26,8 +26,8 @@ URL: https://jonas.github.io/tig/
Source0: https://github.com/jonas/tig/releases/download/%{name}-%{version}/%{name}-%{version}.tar.gz
BuildRequires: pkgconfig >= 0.9.0
BuildRequires: readline-devel >= 6.3
BuildRequires: pkgconfig(libpcre2-posix)
BuildRequires: pkgconfig(ncurses)
Requires: bash-completion
Requires: git-core
%description
@ -40,8 +40,30 @@ and showing the commit with the log message, diffstat, and the diff.
Using it as a pager, it will display input from stdin and colorize it.
%package bash-completion
Summary: Bash completion for %{name}
Group: Development/Tools/Version Control
Requires: %{name} = %{version}
Requires: bash-completion
Supplements: (%{name} 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}
Requires: zsh
Supplements: (%{name} and zsh)
BuildArch: noarch
%description zsh-completion
Zsh command line completion support for %{name}.
%prep
%setup -q
%autosetup -p1
%build
%configure \
@ -53,6 +75,10 @@ Using it as a pager, it will display input from stdin and colorize it.
%make_install install-doc-man
install -Dpm 0644 contrib/tig-completion.bash \
%{buildroot}%{_datadir}/bash-completion/completions/%{name}
install -Dpm 0644 contrib/tig-completion.bash \
%{buildroot}%{_datadir}/zsh/site-functions/%{name}-completion.bash
install -Dpm 0644 contrib/tig-completion.zsh \
%{buildroot}%{_datadir}/zsh/site-functions/_%{name}
%files
%license COPYING
@ -63,6 +89,13 @@ install -Dpm 0644 contrib/tig-completion.bash \
%{_mandir}/man1/tig.1%{?ext_man}
%{_mandir}/man5/tigrc.5%{?ext_man}
%{_mandir}/man7/tigmanual.7%{?ext_man}
%{_datadir}/bash-completion/completions/%{name}
%files bash-completion
%license COPYING
%{_datadir}/bash-completion
%files zsh-completion
%license COPYING
%{_datadir}/zsh
%changelog