Hello community,

here is the log from the commit of package tig for openSUSE:Factory checked in 
at 2015-03-18 13:05:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/tig (Old)
 and      /work/SRC/openSUSE:Factory/.tig.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "tig"

Changes:
--------
--- /work/SRC/openSUSE:Factory/tig/tig.changes  2015-03-16 09:42:12.000000000 
+0100
+++ /work/SRC/openSUSE:Factory/.tig.new/tig.changes     2015-03-18 
13:05:47.000000000 +0100
@@ -1,0 +2,7 @@
+Fri Mar 13 21:24:35 UTC 2015 - [email protected]
+
+- package bash completion
+- package some configuration files samples
+- use upstream spec.in description
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ tig.spec ++++++
--- /var/tmp/diff_new_pack.k22XWw/_old  2015-03-18 13:05:48.000000000 +0100
+++ /var/tmp/diff_new_pack.k22XWw/_new  2015-03-18 13:05:48.000000000 +0100
@@ -16,6 +16,7 @@
 #
 
 
+%define with_bash_completion 0%{?suse_version} >= 1310
 Name:           tig
 Version:        2.1
 Release:        0
@@ -30,16 +31,20 @@
 BuildRequires:  readline-devel
 Requires:       git-core
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+%if 0%{with_bash_completion}
+BuildRequires:  bash-completion
+Requires:       bash-completion
+%endif
 
 %description
-Tig is an ncurses-based text-mode interface for git. It allows you to
-browse changes in a git repository and can additionally act as a pager
-for output of various git commands. When used as a pager, it will
-display input from stdin and colorize it.
-
-When browsing repositories, tig uses the underlying git commands to
-present the user with various views, such as summarized commit log and
-showing the commit with the log message, diffstat, and the diff.
+Tig is a git repository browser that additionally can act as a pager
+for output from various git commands.
+
+When browsing repositories, it uses the underlying git commands to
+present the user with various views, such as summarized revision log
+and showing the commit with the log message, diffstat, and the diff.
+
+Using it as a pager, it will display input from stdin and colorize it.
 
 %prep
 %setup -q
@@ -49,19 +54,27 @@
 %configure \
        --with-ncurses \
        --docdir=%{_docdir}
+
 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
 %{_bindir}/tig
 %doc %{_mandir}/man1/tig.1%{ext_man}
 %doc %{_mandir}/man5/tigrc.5%{ext_man}
 %doc %{_mandir}/man7/tigmanual.7%{ext_man}
 %config %{_sysconfdir}/tigrc
+%if 0%{with_bash_completion}
+%{_sysconfdir}/bash_completion.d/%{name}
+%endif
 
 %changelog

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to