From c35546587ec807fd86c9fba5ca70f16516ef7512a9d5b8bd0f108b773f89672a Mon Sep 17 00:00:00 2001 From: OBS User buildservice-autocommit Date: Thu, 21 Apr 2011 11:49:01 +0000 Subject: [PATCH 1/4] Updating link to change in openSUSE:Factory/tig revision 18.0 OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/tig?expand=0&rev=e02197a52c6417203d99cc855548d0d9 From 8fe2aa16c9d70fbba685ef7b8b396e94d0acdf8e8fad36d8997629b609f05458 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Wed, 31 Aug 2011 15:39:16 +0000 Subject: [PATCH 2/4] Accepting request 80425 from home:gregkh:branches:devel:tools:scm - remove test-graph from the spec file as it really isn't a program to ship. - update to 0.18 OBS-URL: https://build.opensuse.org/request/show/80425 OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/tig?expand=0&rev=15 --- tig-0.17.tar.bz2 | 3 --- tig-0.18.tar.bz2 | 3 +++ tig-fix-build.diff | 6 +++--- tig.changes | 10 ++++++++++ tig.spec | 5 +---- 5 files changed, 17 insertions(+), 10 deletions(-) delete mode 100644 tig-0.17.tar.bz2 create mode 100644 tig-0.18.tar.bz2 diff --git a/tig-0.17.tar.bz2 b/tig-0.17.tar.bz2 deleted file mode 100644 index ccda226..0000000 --- a/tig-0.17.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e7221e0f618f8384278217e852f8734c894ac87959660178d23318934f59006d -size 127964 diff --git a/tig-0.18.tar.bz2 b/tig-0.18.tar.bz2 new file mode 100644 index 0000000..e0ea9d9 --- /dev/null +++ b/tig-0.18.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2eb8b2fef985b4a543e38bd39ce96882f07ee29fa35959d5cd52aa5126e19efd +size 130730 diff --git a/tig-fix-build.diff b/tig-fix-build.diff index 5f7e81d..94764d9 100644 --- a/tig-fix-build.diff +++ b/tig-fix-build.diff @@ -1,5 +1,5 @@ ---- Makefile.orig 2011-03-07 11:17:14.000000000 +0100 -+++ Makefile 2011-03-07 11:17:17.000000000 +0100 +--- Makefile 2011-08-28 15:42:39.000000000 -0700 ++++ Makefile 2011-08-30 16:42:46.091484511 -0700 @@ -32,7 +32,7 @@ RPM_VERSION = $(word 1,$(RPM_VERLIST)) RPM_RELEASE = $(word 2,$(RPM_VERLIST))$(if $(WTDIRTY),.dirty) @@ -8,4 +8,4 @@ +LDLIBS ?= -lncurses CFLAGS ?= -Wall -O2 DFLAGS = -g -DDEBUG -Werror -O0 - PROGS = tig test-graph + PROGS = tig diff --git a/tig.changes b/tig.changes index 05eeebc..24e8915 100644 --- a/tig.changes +++ b/tig.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Wed Aug 31 15:14:43 UTC 2011 - gregkh@suse.de + +- remove test-graph from the spec file as it really isn't a program to ship. + +------------------------------------------------------------------- +Tue Aug 30 23:07:32 UTC 2011 - gregkh@suse.de + +- update to 0.18 + ------------------------------------------------------------------- Mon Mar 7 10:28:43 UTC 2011 - pascal.bleser@opensuse.org diff --git a/tig.spec b/tig.spec index 420ab83..5f139d8 100644 --- a/tig.spec +++ b/tig.spec @@ -23,7 +23,7 @@ License: GPLv2+ Group: Development/Tools/Version Control BuildRequires: ncurses-devel Requires: git-core -Version: 0.17 +Version: 0.18 Release: 1 Summary: An ncurses-based text-mode interface for git Url: http://jonas.nitro.dk/tig/ @@ -64,8 +64,6 @@ export CFLAGS CC %__install -D -m0644 tigrc.5 "$RPM_BUILD_ROOT/%{_mandir}/man5/tigrc.5" %__install -D -m0644 tigmanual.7 "$RPM_BUILD_ROOT/%{_mandir}/man7/tigmanual.7" -%__mv "%{buildroot}%{_bindir}"/{test-graph,test-git-graph} - %clean %{?buildroot:%__rm -rf "%{buildroot}"} @@ -73,7 +71,6 @@ export CFLAGS CC %defattr(-,root,root) %doc BUGS COPYING NEWS README TODO %{_bindir}/tig -%{_bindir}/test-git-graph %doc %{_mandir}/man1/tig.1%{ext_man} %doc %{_mandir}/man5/tigrc.5%{ext_man} %doc %{_mandir}/man7/tigmanual.7%{ext_man} From e526d39cc85492628336cc437bf569f6cb67382f79165ca3326ea5287bb28def Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Thu, 16 Feb 2012 00:56:33 +0000 Subject: [PATCH 3/4] Accepting request 104559 from devel:openSUSE:Factory:patch-license patch license to follow spdx.org standard OBS-URL: https://build.opensuse.org/request/show/104559 OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/tig?expand=0&rev=16 --- tig.changes | 5 +++++ tig.spec | 10 ++++------ 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/tig.changes b/tig.changes index 24e8915..78ebc32 100644 --- a/tig.changes +++ b/tig.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Feb 13 10:56:52 UTC 2012 - coolo@suse.com + +- patch license to follow spdx.org standard + ------------------------------------------------------------------- Wed Aug 31 15:14:43 UTC 2011 - gregkh@suse.de diff --git a/tig.spec b/tig.spec index 5f139d8..89c273b 100644 --- a/tig.spec +++ b/tig.spec @@ -1,7 +1,7 @@ # # spec file for package tig # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,17 +15,15 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - Name: tig -License: GPLv2+ -Group: Development/Tools/Version Control BuildRequires: ncurses-devel Requires: git-core Version: 0.18 -Release: 1 +Release: 0 Summary: An ncurses-based text-mode interface for git +License: GPL-2.0+ +Group: Development/Tools/Version Control Url: http://jonas.nitro.dk/tig/ # http://jonas.nitro.dk/tig/releases/tig-%{version}.tar.gz Source0: tig-%{version}.tar.bz2 From 5acfa921ea541b0eb3840ec6c3758d4cf4add74aed16820c8c60aec92cdd422d Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Fri, 17 Feb 2012 12:03:44 +0000 Subject: [PATCH 4/4] Accepting request 105417 from home:saschpe:branches:devel:tools:scm Factory beautification, please forward and supersede 105323 OBS-URL: https://build.opensuse.org/request/show/105417 OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/tig?expand=0&rev=17 --- tig.changes | 24 +++++++++++++++++++++++- tig.spec | 28 +++++++++------------------- 2 files changed, 32 insertions(+), 20 deletions(-) diff --git a/tig.changes b/tig.changes index 78ebc32..7129a7e 100644 --- a/tig.changes +++ b/tig.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Feb 16 13:24:36 UTC 2012 - saschpe@suse.de + +- Add more detail about last version update + ------------------------------------------------------------------- Mon Feb 13 10:56:52 UTC 2012 - coolo@suse.com @@ -11,7 +16,24 @@ Wed Aug 31 15:14:43 UTC 2011 - gregkh@suse.de ------------------------------------------------------------------- Tue Aug 30 23:07:32 UTC 2011 - gregkh@suse.de -- update to 0.18 +- update to 0.18: + - Incompatibilities: + * Remove support for the deprecated TIG_{MAIN,DIFF,LOG,TREE,BLOB}_CMD environment variables. + - Improvements: + * Pressing enter on diff stat file lines will jump to file’s diff. + * Naïvely color blame IDs to distinguish lines. + * Document palette color options used for revision graph and blame IDs. + * Add support for blaming diff lines. + * Add diff-context option and bindings to increase the diff context in the diff and stage view. + * (GH-6) Make blame configurable via extra options passed from the command line and blame-options setting from ~/.tigrc. For example: + * set blame-options = -C -C -C + - Bug fixes: + * Expand browsing state variables for prompt. (LP #694780, Debian #635546) + * Fix segfault when sorting the branch view by author. + * Expand %(directory) to . for the root directory. (GH-3) + * Accept utf-8 for the line-graphics option as indicated in the docs. + * Use erasechar() to check for the correct backspace character. + ------------------------------------------------------------------- Mon Mar 7 10:28:43 UTC 2011 - pascal.bleser@opensuse.org diff --git a/tig.spec b/tig.spec index 89c273b..01c5b53 100644 --- a/tig.spec +++ b/tig.spec @@ -17,17 +17,16 @@ Name: tig -BuildRequires: ncurses-devel -Requires: git-core Version: 0.18 Release: 0 Summary: An ncurses-based text-mode interface for git License: GPL-2.0+ Group: Development/Tools/Version Control Url: http://jonas.nitro.dk/tig/ -# http://jonas.nitro.dk/tig/releases/tig-%{version}.tar.gz Source0: tig-%{version}.tar.bz2 Patch0: tig-fix-build.diff +BuildRequires: ncurses-devel +Requires: git-core BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -40,30 +39,21 @@ 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. - - -Authors: --------- - Jonas Fonseca - %prep -%setup +%setup -q %patch0 %build CC=gcc -CFLAGS="$RPM_OPT_FLAGS -Wall" +CFLAGS="%{optflags} -Wall" export CFLAGS CC -%__make prefix=%{_prefix} mandir=%{_mandir} +make prefix=%{_prefix} mandir=%{_mandir} %install -%__make DESTDIR="$RPM_BUILD_ROOT" prefix="%{_prefix}" mandir="%{_mandir}" install -%__install -D -m0644 tig.1 "$RPM_BUILD_ROOT/%{_mandir}/man1/tig.1" -%__install -D -m0644 tigrc.5 "$RPM_BUILD_ROOT/%{_mandir}/man5/tigrc.5" -%__install -D -m0644 tigmanual.7 "$RPM_BUILD_ROOT/%{_mandir}/man7/tigmanual.7" - -%clean -%{?buildroot:%__rm -rf "%{buildroot}"} +make DESTDIR=%{buildroot} prefix="%{_prefix}" mandir="%{_mandir}" install +install -D -m0644 tig.1 "%{buildroot}/%{_mandir}/man1/tig.1" +install -D -m0644 tigrc.5 "%{buildroot}/%{_mandir}/man5/tigrc.5" +install -D -m0644 tigmanual.7 "%{buildroot}/%{_mandir}/man7/tigmanual.7" %files %defattr(-,root,root)