SHA256
1
0
forked from pool/elfutils

Accepting request 133896 from Base:System

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/133896
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=32
This commit is contained in:
Stephan Kulow 2012-09-17 11:54:08 +00:00 committed by Git OBS Bridge
commit 21dd0c5b3a
3 changed files with 28 additions and 15 deletions

View File

@ -13,3 +13,14 @@ Subject: do not build po and tests components
EXTRA_DIST = elfutils.spec GPG-KEY NOTES EXCEPTION
--- elfutils-0.153/Makefile.in.orig 2012-02-23 12:41:51.000000000 +0100
+++ elfutils-0.153/Makefile.in 2012-05-30 19:36:05.792498281 +0200
@@ -247,7 +247,7 @@ pkginclude_HEADERS = version.h
# Add doc back when we have some real content.
SUBDIRS = config m4 lib libelf libebl libdwfl libdw libcpu libasm backends \
- src po tests
+ src
EXTRA_DIST = elfutils.spec GPG-KEY NOTES EXCEPTION

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed May 30 17:41:41 UTC 2012 - sweet_f_a@gmx.de
- avoid automake dependency
-------------------------------------------------------------------
Thu Mar 15 08:49:20 UTC 2012 - aj@suse.de

View File

@ -16,12 +16,11 @@
#
Name: elfutils
License: GPL-2.0-with-osi-exception
Version: 0.153
Release: 0
Summary: Higher-level library to access ELF
License: GPL-2.0-with-osi-exception
Group: System/Libraries
Url: http://elfutils.fedorahosted.org
Source: elfutils-%{version}.tar.bz2
@ -36,7 +35,6 @@ Patch6: elfutils-0.137-dwarf-header-check-fix.diff
Patch7: elfutils-0.148-dont-crash.diff
Patch8: elfutils-revert-portability-scanf.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: automake
BuildRequires: bison
BuildRequires: flex
BuildRequires: libbz2-devel
@ -62,8 +60,8 @@ which implement DWARF, ELF, and machine-specific ELF handling.
%package -n libasm-devel
Summary: A collection of utilities and DSOs to handle compiled objects
Group: Development/Tools/Other
License: GPL-2.0-with-osi-exception
Requires: glibc-devel, libasm1 = %{version}
Requires: glibc-devel
Requires: libasm1 = %{version}
%description -n libasm-devel
Elfutils is a collection of utilities, including ld (a linker), nm (for
@ -76,7 +74,6 @@ which implement DWARF, ELF, and machine-specific ELF handling.
%package -n libebl1
Summary: A collection of utilities and DSOs to handle compiled objects
Group: Development/Tools/Other
License: GPL-2.0-with-osi-exception
Provides: libebl = %{version}
Obsoletes: libebl < %{version}
@ -91,8 +88,9 @@ which implement DWARF, ELF, and machine-specific ELF handling.
%package -n libebl-devel
Summary: Include Files and Libraries mandatory for Development
Group: Development/Libraries/C and C++
License: GPL-2.0-with-osi-exception
Requires: glibc-devel, libebl1 = %{version}, libdw-devel = %{version}
Requires: glibc-devel
Requires: libdw-devel = %{version}
Requires: libebl1 = %{version}
%description -n libebl-devel
This package contains all necessary include files and libraries needed
@ -100,7 +98,7 @@ to develop applications that require these.
%package -n libelf1
Summary: Library to read and write ELF files
License: GPL-2.0-with-osi-exception
Group: System/Libraries
%description -n libelf1
This package provides a high-level library to read and write ELF files.
@ -109,8 +107,8 @@ This is a part of elfutils package.
%package -n libelf-devel
Summary: Include Files and Libraries mandatory for Development
Group: Development/Libraries/C and C++
License: GPL-2.0-with-osi-exception
Requires: glibc-devel, libelf1 = %{version}
Requires: glibc-devel
Requires: libelf1 = %{version}
Conflicts: libelf0-devel
%description -n libelf-devel
@ -119,7 +117,7 @@ to develop applications that require these.
%package -n libdw1
Summary: Library to access DWARF debugging information
License: GPL-2.0-with-osi-exception
Group: System/Libraries
%description -n libdw1
This package provides a high-level library to access the DWARF debugging
@ -128,8 +126,8 @@ information. This is a part of elfutils package.
%package -n libdw-devel
Summary: Include Files and Libraries mandatory for Development
Group: Development/Libraries/C and C++
License: GPL-2.0-with-osi-exception
Requires: glibc-devel, libdw1 = %{version}
Requires: glibc-devel
Requires: libdw1 = %{version}
Requires: libelf-devel = %{version}
%description -n libdw-devel
@ -154,7 +152,6 @@ 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}