Accepting request 377508 from devel:libraries:c_c++

1

OBS-URL: https://build.opensuse.org/request/show/377508
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/judy?expand=0&rev=6
This commit is contained in:
Dominique Leuenberger 2016-03-26 14:27:01 +00:00 committed by Git OBS Bridge
commit 348ca1faa3
3 changed files with 23 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Mar 18 15:10:59 UTC 2016 - bwiedemann@suse.com
- Add reproducible.patch to fix build-compare
-------------------------------------------------------------------
Wed Apr 22 11:14:26 UTC 2015 - mpluskal@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package judy
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2016 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
@ -27,6 +27,7 @@ Url: http://judy.sourceforge.net/
Source0: http://sourceforge.net/projects/judy/files/judy/Judy-%{version}/Judy-%{version}.tar.gz
# PATCH-FIX-OPENSUSE Judy-test-shared.patch -- use shared library for testing
Patch0: Judy-test-shared.patch
Patch1: reproducible.patch
BuildRequires: fdupes
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -80,6 +81,7 @@ This package contains documentation about Judy library and examples.
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%build
%configure \

15
reproducible.patch Normal file
View File

@ -0,0 +1,15 @@
Index: judy-1.0.5/tool/jhton.c
===================================================================
--- judy-1.0.5.orig/tool/jhton.c
+++ judy-1.0.5/tool/jhton.c
@@ -693,8 +693,8 @@ FUNCTION void EmitNroffHeader(
// Emit file header; note, ctime() output already contains a newline:
(void) time(&currtime);
- (void) printf(".\\\" Auto-translated to nroff -man from %s by %s at %s",
- Filename, gc_myname, ctime(&currtime));
+ (void) printf(".\\\" Auto-translated to nroff -man from %s by %s",
+ Filename, gc_myname);
(void) printf(".\\\" %s\n", filerev);
(void) printf(".TA %c\n", lcletter);