SHA256
1
0
forked from pool/elfutils

Accepting request 73779 from Base:System

OBS-URL: https://build.opensuse.org/request/show/73779
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=25
This commit is contained in:
Sascha Peilicke 2011-06-16 07:02:12 +00:00 committed by Git OBS Bridge
commit 971e2a5612
2 changed files with 15 additions and 3 deletions

View File

@ -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

View File

@ -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
@ -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
@ -145,6 +145,12 @@ 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")\""
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}