From 5b7b051e872aa486eb6e8335f11405186600026d7238e54cde603f1561d77e0d Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Wed, 4 Feb 2015 13:47:36 +0000 Subject: [PATCH] Accepting request 284051 from home:msmeissn:branches:security - keyutils-nodate.patch: avoid including the timestamp. bsc#916180 OBS-URL: https://build.opensuse.org/request/show/284051 OBS-URL: https://build.opensuse.org/package/show/security/keyutils?expand=0&rev=31 --- keyutils-nodate.patch | 13 +++++++++++++ keyutils.changes | 5 +++++ keyutils.spec | 6 ++++-- 3 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 keyutils-nodate.patch diff --git a/keyutils-nodate.patch b/keyutils-nodate.patch new file mode 100644 index 0000000..87795e6 --- /dev/null +++ b/keyutils-nodate.patch @@ -0,0 +1,13 @@ +Index: keyutils-1.5.9/Makefile +=================================================================== +--- keyutils-1.5.9.orig/Makefile ++++ keyutils-1.5.9/Makefile +@@ -110,7 +110,7 @@ $(ARLIB): keyutils.o + $(AR) rcs $@ $< + endif + +-VCPPFLAGS := -DPKGBUILD="\"$(shell date -u +%F)\"" ++VCPPFLAGS := -DPKGBUILD="\"no timestamp to avoid rebuilds\"" + VCPPFLAGS += -DPKGVERSION="\"keyutils-$(VERSION)\"" + VCPPFLAGS += -DAPIVERSION="\"libkeyutils-$(APIVERSION)\"" + diff --git a/keyutils.changes b/keyutils.changes index d4fbde8..4a081ce 100644 --- a/keyutils.changes +++ b/keyutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Feb 4 13:11:19 UTC 2015 - meissner@suse.com + +- keyutils-nodate.patch: avoid including the timestamp. bsc#916180 + ------------------------------------------------------------------- Thu Jun 5 13:58:56 UTC 2014 - meissner@suse.com diff --git a/keyutils.spec b/keyutils.spec index 7aad3ea..ab92c4c 100644 --- a/keyutils.spec +++ b/keyutils.spec @@ -1,7 +1,7 @@ # # spec file for package keyutils # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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,7 +27,8 @@ Release: 0 Source0: http://people.redhat.com/~dhowells/keyutils/%name-%version.tar.bz2 Source1: baselibs.conf Patch1: request-key-cifs.patch -Patch3: request-key-nfs4.patch +Patch2: request-key-nfs4.patch +Patch3: keyutils-nodate.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -57,6 +58,7 @@ This package provides headers and libraries for building key utilities. %prep %setup -q %patch1 -p0 +%patch2 -p1 %patch3 -p1 %build