From a28455a2a91993c1025c86431a3874d9143f8a68c4b13f4bfd31d459feb4d9d4 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Sat, 11 Mar 2017 15:36:23 +0000 Subject: [PATCH] Accepting request 478674 from home:mimi_vx:branches:devel:tools:scm - spec-cleaned OBS-URL: https://build.opensuse.org/request/show/478674 OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/tig?expand=0&rev=46 --- tig.changes | 5 +++++ tig.spec | 12 +++--------- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/tig.changes b/tig.changes index 0360039..813a41c 100644 --- a/tig.changes +++ b/tig.changes @@ -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 diff --git a/tig.spec b/tig.spec index 0ca1e77..d9709a5 100644 --- a/tig.spec +++ b/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