Accepting request 985151 from home:stimut:branches:devel:tools:scm
- Split out tig-bash-completion package * Removes dependency on bash-completion from main tig package - Add tig-zsh-completion package OBS-URL: https://build.opensuse.org/request/show/985151 OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/tig?expand=0&rev=73
This commit is contained in:
parent
d8c1866dea
commit
aa86635c96
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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>
|
Thu Jan 13 13:59:25 UTC 2022 - Michael Vetter <mvetter@suse.com>
|
||||||
|
|
||||||
|
37
tig.spec
37
tig.spec
@ -27,7 +27,6 @@ Source0: https://github.com/jonas/tig/releases/download/%{name}-%{version
|
|||||||
BuildRequires: pkgconfig >= 0.9.0
|
BuildRequires: pkgconfig >= 0.9.0
|
||||||
BuildRequires: readline-devel >= 6.3
|
BuildRequires: readline-devel >= 6.3
|
||||||
BuildRequires: pkgconfig(ncurses)
|
BuildRequires: pkgconfig(ncurses)
|
||||||
Requires: bash-completion
|
|
||||||
Requires: git-core
|
Requires: git-core
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -40,6 +39,31 @@ 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.
|
Using it as a pager, it will display input from stdin and colorize it.
|
||||||
|
|
||||||
|
%package bash-completion
|
||||||
|
Summary: Bash completion for %{name}
|
||||||
|
Requires: bash-completion
|
||||||
|
%if 0%{?sle_version} == 120500
|
||||||
|
Supplements: packageand(%{name}:bash)
|
||||||
|
%else
|
||||||
|
Supplements: (%{name} and bash)
|
||||||
|
%endif
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description bash-completion
|
||||||
|
Bash command line completion support for %{name}.
|
||||||
|
|
||||||
|
%package zsh-completion
|
||||||
|
Summary: Zsh completion for %{name}
|
||||||
|
%if 0%{?sle_version} == 120500
|
||||||
|
Supplements: packageand(%{name}:zsh)
|
||||||
|
%else
|
||||||
|
Supplements: (%{name} and zsh)
|
||||||
|
%endif
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description zsh-completion
|
||||||
|
Zsh command line completion support for %{name}.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
@ -53,6 +77,10 @@ Using it as a pager, it will display input from stdin and colorize it.
|
|||||||
%make_install install-doc-man
|
%make_install install-doc-man
|
||||||
install -Dpm 0644 contrib/tig-completion.bash \
|
install -Dpm 0644 contrib/tig-completion.bash \
|
||||||
%{buildroot}%{_datadir}/bash-completion/completions/%{name}
|
%{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
|
%files
|
||||||
%license COPYING
|
%license COPYING
|
||||||
@ -63,6 +91,11 @@ install -Dpm 0644 contrib/tig-completion.bash \
|
|||||||
%{_mandir}/man1/tig.1%{?ext_man}
|
%{_mandir}/man1/tig.1%{?ext_man}
|
||||||
%{_mandir}/man5/tigrc.5%{?ext_man}
|
%{_mandir}/man5/tigrc.5%{?ext_man}
|
||||||
%{_mandir}/man7/tigmanual.7%{?ext_man}
|
%{_mandir}/man7/tigmanual.7%{?ext_man}
|
||||||
%{_datadir}/bash-completion/completions/%{name}
|
|
||||||
|
%files bash-completion
|
||||||
|
%{_datadir}/bash-completion
|
||||||
|
|
||||||
|
%files zsh-completion
|
||||||
|
%{_datadir}/zsh
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user