diff --git a/drbd-buildcompare.patch b/drbd-buildcompare.patch new file mode 100644 index 0000000..fbd81ae --- /dev/null +++ b/drbd-buildcompare.patch @@ -0,0 +1,15 @@ +--- + drbd/Kbuild | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +Index: drbd-8.4.6/drbd/Kbuild +=================================================================== +--- drbd-8.4.6.orig/drbd/Kbuild ++++ drbd-8.4.6/drbd/Kbuild +@@ -134,5 +134,5 @@ $(obj)/drbd_buildtag.c: $(filter-out drb + echo >&2 "Your DRBD source tree is broken. Unpack again."; \ + exit 1; \ + fi ; \ +- echo -e "\t\t\" build by $$USER@$$HOSTNAME, `date "+%F %T"`\";\n}"; \ ++ echo -e "\t\t\" build by $$USER\";\n}"; \ + mv --force $@.new $@ diff --git a/drbd.changes b/drbd.changes index be9450a..ec5f135 100644 --- a/drbd.changes +++ b/drbd.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Mar 7 14:23:53 UTC 2016 - olaf@aepfle.de + +- Remove timstamp from binaries + ddd-buildcompare.patch + ------------------------------------------------------------------- Fri Nov 20 06:50:29 UTC 2015 - nwang@suse.com diff --git a/drbd.spec b/drbd.spec index 8133fdd..b9c517b 100644 --- a/drbd.spec +++ b/drbd.spec @@ -1,7 +1,7 @@ # # spec file for package drbd # -# 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 @@ -41,6 +41,7 @@ Patch2: new-bio-struct.patch #Whether can merge into linbit is under discussion Patch3: 0001-Support-zeroout-device-in-initial-sync.patch Patch4: rename-GFP_WAIT-to-GFP_RECLAIM.patch +Patch5: drbd-buildcompare.patch BuildRequires: kernel-source BuildRequires: kernel-syms @@ -78,6 +79,7 @@ installed kernel. %patch2 -p1 %patch3 -p1 %patch4 -p1 +%patch5 -p1 %build rm -rf obj