Accepting request 989050 from home:AndreasStieger:branches:devel:tools:scm
- tig 2.5.5 added pcre2 support. Actually build with it. - fix bash and zsh completion packaging for Factory OBS-URL: https://build.opensuse.org/request/show/989050 OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/tig?expand=0&rev=75
This commit is contained in:
parent
28ac43457e
commit
9ec3fe5430
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
|
18
tig.spec
18
tig.spec
@ -26,6 +26,7 @@ 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: git-core
|
||||
|
||||
@ -42,12 +43,9 @@ 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
|
||||
%if 0%{?sle_version} == 120500
|
||||
Supplements: packageand(%{name}:bash)
|
||||
%else
|
||||
Supplements: (%{name} and bash)
|
||||
%endif
|
||||
Supplements: (%{name} and bash-completion)
|
||||
BuildArch: noarch
|
||||
|
||||
%description bash-completion
|
||||
@ -56,18 +54,16 @@ Bash command line completion support for %{name}.
|
||||
%package zsh-completion
|
||||
Summary: Zsh completion for %{name}
|
||||
Group: Development/Tools/Version Control
|
||||
%if 0%{?sle_version} == 120500
|
||||
Supplements: packageand(%{name}:zsh)
|
||||
%else
|
||||
Requires: %{name} = %{version}
|
||||
Requires: zsh
|
||||
Supplements: (%{name} and zsh)
|
||||
%endif
|
||||
BuildArch: noarch
|
||||
|
||||
%description zsh-completion
|
||||
Zsh command line completion support for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
%configure \
|
||||
@ -95,9 +91,11 @@ install -Dpm 0644 contrib/tig-completion.zsh \
|
||||
%{_mandir}/man7/tigmanual.7%{?ext_man}
|
||||
|
||||
%files bash-completion
|
||||
%license COPYING
|
||||
%{_datadir}/bash-completion
|
||||
|
||||
%files zsh-completion
|
||||
%license COPYING
|
||||
%{_datadir}/zsh
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user