diff --git a/judy.changes b/judy.changes index e4cc926..17c5f46 100644 --- a/judy.changes +++ b/judy.changes @@ -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 diff --git a/judy.spec b/judy.spec index 28d8985..f3f7440 100644 --- a/judy.spec +++ b/judy.spec @@ -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 \ diff --git a/reproducible.patch b/reproducible.patch new file mode 100644 index 0000000..9382d26 --- /dev/null +++ b/reproducible.patch @@ -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);