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
This commit is contained in:
Sascha Peilicke 2012-02-17 12:03:44 +00:00 committed by Git OBS Bridge
parent e526d39cc8
commit 5acfa921ea
2 changed files with 32 additions and 20 deletions

View File

@ -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 files 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

View File

@ -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 <fonseca@diku.dk>
%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)