From 7f7b19580ce8ce163eb528b220f95b327028d2bf78378bf9d9019dafa54cfcaf Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Thu, 31 May 2012 08:51:10 +0000 Subject: [PATCH] Accepting request 122959 from home:rudi_m:branches:Base:System - avoid automake dependency OBS-URL: https://build.opensuse.org/request/show/122959 OBS-URL: https://build.opensuse.org/package/show/Base:System/elfutils?expand=0&rev=38 --- elfutils-no-po-test-build.diff | 11 +++++++++++ elfutils.changes | 5 +++++ elfutils.spec | 27 ++++++++++++--------------- 3 files changed, 28 insertions(+), 15 deletions(-) diff --git a/elfutils-no-po-test-build.diff b/elfutils-no-po-test-build.diff index 60714f5..e7f6c1e 100644 --- a/elfutils-no-po-test-build.diff +++ b/elfutils-no-po-test-build.diff @@ -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 + diff --git a/elfutils.changes b/elfutils.changes index 40b416f..9032734 100644 --- a/elfutils.changes +++ b/elfutils.changes @@ -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 diff --git a/elfutils.spec b/elfutils.spec index 7099f66..75fcb65 100644 --- a/elfutils.spec +++ b/elfutils.spec @@ -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}