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
This commit is contained in:
parent
45fa19c06d
commit
a28455a2a9
@ -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
|
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
|
Name: tig
|
||||||
Version: 2.2.1
|
Version: 2.2.1
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -29,14 +28,12 @@ Patch1: tig-remove_build_timestamp.patch
|
|||||||
# PATCH-FIX-TO-UPSTREAM -- to make build-compare happy
|
# PATCH-FIX-TO-UPSTREAM -- to make build-compare happy
|
||||||
Patch2: reproducible.patch
|
Patch2: reproducible.patch
|
||||||
BuildRequires: asciidoc
|
BuildRequires: asciidoc
|
||||||
|
BuildRequires: bash-completion
|
||||||
BuildRequires: ncurses-devel
|
BuildRequires: ncurses-devel
|
||||||
BuildRequires: readline-devel
|
BuildRequires: readline-devel
|
||||||
|
Requires: bash-completion
|
||||||
Requires: git-core
|
Requires: git-core
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%if 0%{with_bash_completion}
|
|
||||||
BuildRequires: bash-completion
|
|
||||||
Requires: bash-completion
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Tig is a git repository browser that additionally can act as a pager
|
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
|
%install
|
||||||
make DESTDIR=%{buildroot} prefix="%{_prefix}" mandir="%{_mandir}" install
|
make DESTDIR=%{buildroot} prefix="%{_prefix}" mandir="%{_mandir}" install
|
||||||
make DESTDIR=%{buildroot} prefix="%{_prefix}" mandir="%{_mandir}" install-doc
|
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}"
|
install -D -m0644 contrib/tig-completion.bash "%{buildroot}%{_sysconfdir}/bash_completion.d/%{name}"
|
||||||
%endif
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc COPYING NEWS.adoc README.adoc
|
%doc COPYING NEWS.adoc README.adoc
|
||||||
%doc contrib/*.tigrc
|
%doc contrib/*.tigrc
|
||||||
|
%{_docdir}/%{name}/*
|
||||||
%{_bindir}/tig
|
%{_bindir}/tig
|
||||||
%{_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
|
%config %{_sysconfdir}/tigrc
|
||||||
%if 0%{with_bash_completion}
|
|
||||||
%{_sysconfdir}/bash_completion.d/%{name}
|
%{_sysconfdir}/bash_completion.d/%{name}
|
||||||
%endif
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user