- Make building more verbose
- Small adjustments with spec-cleaner - Install bash completion to correct location OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/tig?expand=0&rev=60
This commit is contained in:
parent
00945611ca
commit
672808ddf2
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jul 27 10:30:19 UTC 2018 - mpluskal@suse.com
|
||||||
|
|
||||||
|
- Make building more verbose
|
||||||
|
- Small adjustments with spec-cleaner
|
||||||
|
- Install bash completion to correct location
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jul 27 10:10:10 UTC 2018 - mvetter@suse.com
|
Fri Jul 27 10:10:10 UTC 2018 - mvetter@suse.com
|
||||||
|
|
||||||
|
12
tig.spec
12
tig.spec
@ -24,9 +24,9 @@ License: GPL-2.0-or-later
|
|||||||
Group: Development/Tools/Version Control
|
Group: Development/Tools/Version Control
|
||||||
URL: https://jonas.github.io/tig/
|
URL: https://jonas.github.io/tig/
|
||||||
Source0: https://github.com/jonas/tig/releases/download/%{name}-%{version}/%{name}-%{version}.tar.gz
|
Source0: https://github.com/jonas/tig/releases/download/%{name}-%{version}/%{name}-%{version}.tar.gz
|
||||||
BuildRequires: ncurses-devel
|
|
||||||
BuildRequires: pkgconfig >= 0.9.0
|
BuildRequires: pkgconfig >= 0.9.0
|
||||||
BuildRequires: readline-devel >= 6.3
|
BuildRequires: readline-devel >= 6.3
|
||||||
|
BuildRequires: pkgconfig(ncurses)
|
||||||
Requires: bash-completion
|
Requires: bash-completion
|
||||||
Requires: git-core
|
Requires: git-core
|
||||||
|
|
||||||
@ -47,22 +47,22 @@ Using it as a pager, it will display input from stdin and colorize it.
|
|||||||
%configure \
|
%configure \
|
||||||
--with-ncurses \
|
--with-ncurses \
|
||||||
--docdir=%{_docdir}
|
--docdir=%{_docdir}
|
||||||
|
make %{?_smp_mflags} V=1
|
||||||
make %{?_smp_mflags}
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install install-doc-man
|
%make_install install-doc-man
|
||||||
install -D -m0644 contrib/tig-completion.bash "%{buildroot}%{_sysconfdir}/bash_completion.d/%{name}"
|
install -Dpm 0644 contrib/tig-completion.bash \
|
||||||
|
%{buildroot}%{_datadir}/bash-completion/completions/%{name}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%doc NEWS.adoc README.adoc
|
%doc NEWS.adoc README.adoc
|
||||||
%doc contrib/*.tigrc
|
%doc contrib/*.tigrc
|
||||||
%{_bindir}/tig
|
%{_bindir}/tig
|
||||||
|
%config %{_sysconfdir}/tigrc
|
||||||
%{_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}
|
||||||
%config %{_sysconfdir}/tigrc
|
%{_datadir}/bash-completion/completions/%{name}
|
||||||
%{_sysconfdir}/bash_completion.d/%{name}
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user