From 93a678247b13c05d4f02114a8890041e24d383cf0183cedf6254582c98e6df07 Mon Sep 17 00:00:00 2001 From: OBS User buildservice-autocommit Date: Mon, 2 May 2011 09:57:50 +0000 Subject: [PATCH 1/4] Updating link to change in openSUSE:Factory/elfutils revision 24.0 OBS-URL: https://build.opensuse.org/package/show/Base:System/elfutils?expand=0&rev=152f6d49fdc930a26a290a31cf42855b --- elfutils.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/elfutils.spec b/elfutils.spec index 7ae2228..3bd8d88 100644 --- a/elfutils.spec +++ b/elfutils.spec @@ -1,7 +1,7 @@ # -# spec file for package elfutils (Version 0.152) +# spec file for package elfutils # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed From b828446a02f1fafe02365972e6c1f54d701c23ffe174e5b5879b097276307959 Mon Sep 17 00:00:00 2001 From: Tony Jones Date: Wed, 25 May 2011 00:21:47 +0000 Subject: [PATCH 2/4] Accepting request 71173 from home:elvigia:branches:Base:System - Remote timestamps on binaries, breaks build compare - Add missing build requires on zlib, bzip2 and lzma . OBS-URL: https://build.opensuse.org/request/show/71173 OBS-URL: https://build.opensuse.org/package/show/Base:System/elfutils?expand=0&rev=27 --- elfutils.changes | 6 ++++++ elfutils.spec | 6 +++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/elfutils.changes b/elfutils.changes index 252e5bf..5c58544 100644 --- a/elfutils.changes +++ b/elfutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue May 24 15:32:28 UTC 2011 - crrodriguez@opensuse.org + +- Remote timestamps on binaries, breaks build compare +- Add missing build requires on zlib, bzip2 and lzma . + ------------------------------------------------------------------- Wed Apr 27 00:35:22 UTC 2011 - tonyj@novell.com diff --git a/elfutils.spec b/elfutils.spec index 3bd8d88..68bd3d8 100644 --- a/elfutils.spec +++ b/elfutils.spec @@ -36,7 +36,7 @@ Patch5: elfutils-uninitialized.diff Patch6: elfutils-0.137-dwarf-header-check-fix.diff Patch7: elfutils-0.148-dont-crash.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: bison flex +BuildRequires: bison flex xz-devel zlib-devel libbz2-devel %description This package provides a higher-level library to access ELF files. This @@ -145,6 +145,10 @@ to develop applications that require these. %patch7 -p1 %build +modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{_sourcedir}/%{name}.changes")" +DATE="\"$(date -d "${modified}" "+%%b %%e %%Y")\"" +TIME="\"$(date -d "${modified}" "+%%R")\"" +find . -type f -regex ".*\.c\|.*\.cpp\|.*\.h" -exec sed -i "s/__DATE__/${DATE}/g;s/__TIME__/${TIME}/g" {} + autoreconf -fi %configure --program-prefix=eu- make %{?_smp_mflags} From 455501fb156cedf7765fd17aa8c20d83ecd803de94ec5e3b631954b17cb8a3d0 Mon Sep 17 00:00:00 2001 From: Tony Jones Date: Wed, 25 May 2011 00:25:57 +0000 Subject: [PATCH 3/4] 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")\"" From fcf8a3e9ffbb804815880434f90f5acc815b42b06bf2c16a2b7b880a3d9613de Mon Sep 17 00:00:00 2001 From: Tony Jones Date: Tue, 31 May 2011 20:41:31 +0000 Subject: [PATCH 4/4] Accepting request 72357 from home:aturrini:branches:Base:System Fixed typos in descriptions of elfutils.spec OBS-URL: https://build.opensuse.org/request/show/72357 OBS-URL: https://build.opensuse.org/package/show/Base:System/elfutils?expand=0&rev=29 --- elfutils.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/elfutils.spec b/elfutils.spec index 2a6647b..4157a0a 100644 --- a/elfutils.spec +++ b/elfutils.spec @@ -100,7 +100,7 @@ Group: System/Libraries License: GPLv2+ %description -n libelf1 -This package provide a high-level library to read and write ELF files. +This package provides a high-level library to read and write ELF files. This is a part of elfutils package. %package -n libelf-devel @@ -120,7 +120,7 @@ Group: System/Libraries License: GPLv2+ %description -n libdw1 -This package provide a high-level library to access the DWARF debugging +This package provides a high-level library to access the DWARF debugging information. This is a part of elfutils package. %package -n libdw-devel