From 22f92c66e6aba9b7e7765f78144f392177999a9356abc6c37168c267133164e3 Mon Sep 17 00:00:00 2001
From: OBS User buildservice-autocommit <null@suse.de>
Date: Thu, 16 Jun 2011 07:02:27 +0000
Subject: [PATCH 1/2] Updating link to change in openSUSE:Factory/elfutils
 revision 26.0

OBS-URL: https://build.opensuse.org/package/show/Base:System/elfutils?expand=0&rev=33bf03d8c0d45d906236f6bb2e2b8f90
---
 elfutils.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/elfutils.spec b/elfutils.spec
index 4157a0a..ea4e805 100644
--- a/elfutils.spec
+++ b/elfutils.spec
@@ -21,7 +21,7 @@
 Name:           elfutils
 License:        GPLv2 ; GPLv2+ ; LGPLv2.1+
 Version:        0.152
-Release:        1
+Release:        3
 Summary:        Higher-level library to access ELF
 Group:          System/Libraries
 Url:            http://elfutils.fedorahosted.org
@@ -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 xz-devel zlib-devel libbz2-devel
+BuildRequires:  bison flex libbz2-devel xz-devel zlib-devel
 
 %description
 This package provides a higher-level library to access ELF files. This

From 9a64a712a54ed9b5f6b88fac0d9d7b5b59b9a9c352cd445b84de29263e5a00dc Mon Sep 17 00:00:00 2001
From: Dirk Mueller <dmueller@suse.com>
Date: Wed, 21 Sep 2011 19:13:54 +0000
Subject: [PATCH 2/2] Accepting request 83414 from home:jengelh:bl-e

- Remove redundant/obsolete tags/sections from specfile
  (cf. packaging guidelines)
- Add elfutils-devel to baselibs
  (local compilation of a 3rd-party program in 32-bit mode)

OBS-URL: https://build.opensuse.org/request/show/83414
OBS-URL: https://build.opensuse.org/package/show/Base:System/elfutils?expand=0&rev=31
---
 baselibs.conf    | 6 ++++++
 elfutils.changes | 7 +++++++
 elfutils.spec    | 4 ----
 3 files changed, 13 insertions(+), 4 deletions(-)

diff --git a/baselibs.conf b/baselibs.conf
index 7bb51b6..3d3cfd4 100644
--- a/baselibs.conf
+++ b/baselibs.conf
@@ -2,3 +2,9 @@ libasm1
 libebl1
 libelf1
 libdw1
+elfutils-devel
+	requires -elfutils-<targettype>
+	requires "libasm1-<targettype> = <version>"
+	requires "libebl1-<targettype> = <version>"
+	requires "libelf1-<targettype> = <version>"
+	requires "libdw1-<targettype> = <version>"
diff --git a/elfutils.changes b/elfutils.changes
index 5c58544..5729a42 100644
--- a/elfutils.changes
+++ b/elfutils.changes
@@ -1,3 +1,10 @@
+-------------------------------------------------------------------
+Sun Sep 18 17:17:12 UTC 2011 - jengelh@medozas.de
+
+- Remove redundant/obsolete tags/sections from specfile
+  (cf. packaging guidelines)
+- Add elfutils-devel to baselibs
+
 -------------------------------------------------------------------
 Tue May 24 15:32:28 UTC 2011 - crrodriguez@opensuse.org
 
diff --git a/elfutils.spec b/elfutils.spec
index ea4e805..a9b81aa 100644
--- a/elfutils.spec
+++ b/elfutils.spec
@@ -15,7 +15,6 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
 
 
 Name:           elfutils
@@ -173,9 +172,6 @@ ls -lR $RPM_BUILD_ROOT%{_libdir}/libelf*
 
 %postun -n libdw1 -p /sbin/ldconfig
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
 %defattr(-,root,root)
 %doc AUTHORS ChangeLog COPYING EXCEPTION NEWS NOTES README THANKS TODO