From 455501fb156cedf7765fd17aa8c20d83ecd803de94ec5e3b631954b17cb8a3d0 Mon Sep 17 00:00:00 2001 From: Tony Jones Date: Wed, 25 May 2011 00:25:57 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Base:System/elfutils?expand=0&rev=28 --- elfutils.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/elfutils.spec b/elfutils.spec index 68bd3d8..2a6647b 100644 --- a/elfutils.spec +++ b/elfutils.spec @@ -145,6 +145,8 @@ to develop applications that require these. %patch7 -p1 %build +# Change DATE/TIME macros to use last change time of elfutils.changes +# See http://lists.opensuse.org/opensuse-factory/2011-05/msg00304.html modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{_sourcedir}/%{name}.changes")" DATE="\"$(date -d "${modified}" "+%%b %%e %%Y")\"" TIME="\"$(date -d "${modified}" "+%%R")\""