SHA256
1
0
forked from pool/tig

Accepting request 530026 from home:AndreasStieger:branches:devel:tools:scm

tig 2.3.0

OBS-URL: https://build.opensuse.org/request/show/530026
OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/tig?expand=0&rev=50
This commit is contained in:
Andreas Stieger 2017-09-29 22:03:31 +00:00 committed by Git OBS Bridge
parent 6a9fbd0884
commit 779d5dd2b9
6 changed files with 18 additions and 46 deletions

View File

@ -1,13 +0,0 @@
Index: tig-2.2.1/tools/make-builtin-config.sh
===================================================================
--- tig-2.2.1.orig/tools/make-builtin-config.sh
+++ tig-2.2.1/tools/make-builtin-config.sh
@@ -27,7 +27,7 @@ read_tigrc() {
fi
}
-echo "/* Generated by $0 on $(date) */"
+echo "/* Generated by $0 */"
echo "const char *builtin_config ="
read_tigrc | while read line; do

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:316214d87f7693abc0cbe8ebbb85decdf5e1b49d7ad760ac801af3dd73385e35
size 1046910

3
tig-2.3.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:686f0386927904dc6410f0b1a712cb8bd7fff3303f688d7dc43162f4ad16c0ed
size 1080956

View File

@ -1,22 +0,0 @@
Index: src/tig.c
===================================================================
--- src/tig.c.orig
+++ src/tig.c
@@ -301,7 +301,7 @@ view_driver(struct view *view, enum requ
break;
case REQ_SHOW_VERSION:
- report("tig-%s (built %s)", TIG_VERSION, __DATE__);
+ report("tig-%s", TIG_VERSION);
return true;
case REQ_SCREEN_REDRAW:
@@ -345,7 +345,7 @@ view_driver(struct view *view, enum requ
*/
static const char usage_string[] =
-"tig " TIG_VERSION " (" __DATE__ ")\n"
+"tig " TIG_VERSION " \n"
"\n"
"Usage: tig [options] [revs] [--] [paths]\n"
" or: tig log [options] [revs] [--] [paths]\n"

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Fri Sep 29 21:55:54 UTC 2017 - astieger@suse.com
- tig 2.3.0:
* The `width` setting on the `status`, `text` and `commit-title`
columns was never applied and has been removed
* improve load performance and rendering speed
* Enable binding to more symbolic keys and keys with control
modifier
* Store and readline history on disk
* Various bug fixes
- drop upstreamed patches:
* tig-remove_build_timestamp.patch, tig.spec
-------------------------------------------------------------------
Sat May 6 16:38:21 UTC 2017 - astieger@suse.com

View File

@ -17,23 +17,19 @@
Name: tig
Version: 2.2.2
Version: 2.3.0
Release: 0
Summary: An ncurses-based text-mode interface for git
License: GPL-2.0+
Group: Development/Tools/Version Control
Url: https://jonas.github.io/tig/
Source0: https://github.com/jonas/tig/releases/download/tig-%{version}/tig-%{version}.tar.gz
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
%description
Tig is a git repository browser that additionally can act as a pager
@ -47,8 +43,6 @@ Using it as a pager, it will display input from stdin and colorize it.
%prep
%setup -q
%patch1
%patch2 -p1
%build
%configure \
@ -63,7 +57,6 @@ make DESTDIR=%{buildroot} prefix="%{_prefix}" mandir="%{_mandir}" install-doc
install -D -m0644 contrib/tig-completion.bash "%{buildroot}%{_sysconfdir}/bash_completion.d/%{name}"
%files
%defattr(-,root,root)
%doc COPYING NEWS.adoc README.adoc
%doc contrib/*.tigrc
%{_docdir}/%{name}/*