Accepting request 451921 from devel:tools:scm

1

OBS-URL: https://build.opensuse.org/request/show/451921
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tig?expand=0&rev=37
This commit is contained in:
Dominique Leuenberger 2017-01-24 09:41:14 +00:00 committed by Git OBS Bridge
commit 6290eb7791
3 changed files with 22 additions and 1 deletions

13
reproducible.patch Normal file
View File

@ -0,0 +1,13 @@
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 +1,8 @@
-------------------------------------------------------------------
Mon Jan 23 05:10:18 UTC 2017 - bwiedemann@suse.com
- Add reproducible.patch to allow for reproducible builds
-------------------------------------------------------------------
Thu Nov 17 12:54:54 UTC 2016 - astieger@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package tig
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -26,6 +26,8 @@ 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: ncurses-devel
BuildRequires: readline-devel
@ -49,6 +51,7 @@ Using it as a pager, it will display input from stdin and colorize it.
%prep
%setup -q
%patch1
%patch2 -p1
%build
%configure \