Accepting request 478676 from devel:tools:scm
1 OBS-URL: https://build.opensuse.org/request/show/478676 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tig?expand=0&rev=38
This commit is contained in:
commit
becae00b32
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 11 15:28:59 UTC 2017 - mimi.vx@gmail.com
|
||||
|
||||
- spec-cleaned
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 23 05:10:18 UTC 2017 - bwiedemann@suse.com
|
||||
|
||||
|
12
tig.spec
12
tig.spec
@ -16,7 +16,6 @@
|
||||
#
|
||||
|
||||
|
||||
%define with_bash_completion 0%{?suse_version} >= 1310
|
||||
Name: tig
|
||||
Version: 2.2.1
|
||||
Release: 0
|
||||
@ -29,14 +28,12 @@ Patch1: tig-remove_build_timestamp.patch
|
||||
# PATCH-FIX-TO-UPSTREAM -- to make build-compare happy
|
||||
Patch2: reproducible.patch
|
||||
BuildRequires: asciidoc
|
||||
BuildRequires: bash-completion
|
||||
BuildRequires: ncurses-devel
|
||||
BuildRequires: readline-devel
|
||||
Requires: bash-completion
|
||||
Requires: git-core
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%if 0%{with_bash_completion}
|
||||
BuildRequires: bash-completion
|
||||
Requires: bash-completion
|
||||
%endif
|
||||
|
||||
%description
|
||||
Tig is a git repository browser that additionally can act as a pager
|
||||
@ -63,21 +60,18 @@ make %{?_smp_mflags} prefix=%{_prefix} mandir=%{_mandir}
|
||||
%install
|
||||
make DESTDIR=%{buildroot} prefix="%{_prefix}" mandir="%{_mandir}" install
|
||||
make DESTDIR=%{buildroot} prefix="%{_prefix}" mandir="%{_mandir}" install-doc
|
||||
%if 0%{with_bash_completion}
|
||||
install -D -m0644 contrib/tig-completion.bash "%{buildroot}%{_sysconfdir}/bash_completion.d/%{name}"
|
||||
%endif
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc COPYING NEWS.adoc README.adoc
|
||||
%doc contrib/*.tigrc
|
||||
%{_docdir}/%{name}/*
|
||||
%{_bindir}/tig
|
||||
%{_mandir}/man1/tig.1%{ext_man}
|
||||
%{_mandir}/man5/tigrc.5%{ext_man}
|
||||
%{_mandir}/man7/tigmanual.7%{ext_man}
|
||||
%config %{_sysconfdir}/tigrc
|
||||
%if 0%{with_bash_completion}
|
||||
%{_sysconfdir}/bash_completion.d/%{name}
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user