Hello community,

here is the log from the commit of package libdwarf for openSUSE:Factory 
checked in at 2012-12-08 15:51:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libdwarf (Old)
 and      /work/SRC/openSUSE:Factory/.libdwarf.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libdwarf", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/libdwarf/libdwarf.changes        2012-02-16 
10:05:54.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.libdwarf.new/libdwarf.changes   2012-12-08 
15:51:50.000000000 +0100
@@ -1,0 +2,15 @@
+Thu Dec  6 13:31:20 UTC 2012 - [email protected]
+
+- dwarfdump2 does not build on SLE_11_SP1, skipping.
+- removed libdwarf-relocation-support.patch, 
+  assumed upstream as a different implementation.
+
+-------------------------------------------------------------------
+Thu Dec  6 11:42:44 UTC 2012 - [email protected]
+
+- updated to 20121130
+  which fixes http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=681748
+  dwarfdump ERROR:  dwarf_loclist:  DW_DLE_LOC_EXPR_BAD (128)
+- enabled dwarfdump2 in specfile
+
+-------------------------------------------------------------------

Old:
----
  libdwarf-20100808.tar.bz2
  libdwarf-relocation-support.patch

New:
----
  libdwarf-20121130.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libdwarf.spec ++++++
--- /var/tmp/diff_new_pack.tUtenH/_old  2012-12-08 15:51:51.000000000 +0100
+++ /var/tmp/diff_new_pack.tUtenH/_new  2012-12-08 15:51:51.000000000 +0100
@@ -1,5 +1,5 @@
 #
-# spec file for package libdwarf (Version 20100808)
+# spec file for package libdwarf (Version 20120410
 #
 # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
@@ -20,20 +20,23 @@
 
 Name:           libdwarf
 Url:            http://reality.sgiweb.org/davea/dwarf.html
-Summary:        Documentation for libdwarf
-Version:        20100808
+Summary:        Access DWARF debugging information
+Version:        20121130
 Release:        1
 License:        LGPL-2.1+
 Group:          System/Libraries
-Source:         libdwarf-%{version}.tar.bz2
-Patch0:         libdwarf-relocation-support.patch
+# repo:                http://sourceforge.net/p/libdwarf/
+Source:         http://reality.sgiweb.org/davea/libdwarf-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  binutils-devel libelf-devel
+# for dwarfdump2
+BuildRequires:  gcc-c++
 
 %description
-Documentation for libdwarf.
-
-
+Library of functions to provide creation of DWARF debugging information
+records, DWARF line number information, DWARF address range and
+pubnames information, weak names information, and DWARF frame
+description information.
 
 Authors:
 --------
@@ -55,42 +58,33 @@
 address range and pubnames information, weak names information, and
 DWARF frame description information.
 
-
-
 Authors:
 --------
     David Anderson <[email protected]>
 
 %package tools
-Summary:        Access DWARF debugging information
+Summary:        DWARF-related tools
 Group:          System/Libraries
 AutoReqProv:    on
 PreReq:         %install_info_prereq
 License:        LGPL-2.1+
 
 %description tools
-Library of functions to provide creation of DWARF debugging information
-records, DWARF line number information, DWARF address range and
-pubnames information, weak names information, and DWARF frame
-description information.
-
-
+Contains dwarfdump, a tool to access DWARF debug information.
 
 Authors:
 --------
     David Anderson <[email protected]>
 
 %package doc
+Summary:        Documentation for libdwarf
 License:        GPL-2.0+
-Summary:        DWARF-related tools
 Group:          System/Libraries
 AutoReqProv:    on
 PreReq:         %install_info_prereq
 
 %description doc
-Contains dwarfdump, a tool to access DWARF debug information.
-
-
+Documentation for libdwarf.
 
 Authors:
 --------
@@ -117,14 +111,34 @@
 #  - dgollub (20081001)
 # only run make with -j1
 LD_LIBRARY_PATH="../libdwarf" make
+cd -
+
+%if 0%{?suse_version} >= 1140
+cd dwarfdump2
+%configure
+# LD_LIBRARY_PATH required since libdwarf.so and libdwarf.a
+# are available - and tag_tree_build get linked against
+# shared library. This workaround avoids patching of dwarfdump
+# Makefile
+#  - dgollub (20081001)
+# only run make with -j1
+LD_LIBRARY_PATH="../libdwarf" make
+cd -
+%endif
 
 %install
 mkdir -p %{buildroot}%{_libdir}
 mkdir -p %{buildroot}%{_bindir}
 mkdir -p %{buildroot}%{_includedir}/libdwarf
+mkdir -p %{buildroot}%{_mandir}/man1
 install -m 0644 libdwarf/libdwarf.a %{buildroot}%{_libdir}
 install -m 0644 libdwarf/libdwarf.so* %{buildroot}%{_libdir}
 install -m 0755 dwarfdump/dwarfdump %{buildroot}%{_bindir}
+install -m 0644 dwarfdump/dwarfdump.1 %{buildroot}%{_mandir}/man1/dwarfdump.1
+%if 0%{?suse_version} >= 1140
+install -m 0755 dwarfdump2/dwarfdump %{buildroot}%{_bindir}/dwarfdump2
+install -m 0644 dwarfdump2/dwarfdump.1 %{buildroot}%{_mandir}/man1/dwarfdump2.1
+%endif
 install -m 0644 libdwarf/libdwarf.h %{buildroot}%{_includedir}/libdwarf
 install -m 0644 libdwarf/dwarf.h %{buildroot}%{_includedir}/libdwarf
 
@@ -146,8 +160,12 @@
 
 %files tools
 %defattr(-,root,root)
-%{_bindir}/dwarfdump
+%{_bindir}/dwarfdump*
+%{_mandir}/man1/dwarfdump*
 %doc ./dwarfdump/README
+%if 0%{?suse_version} >= 1140
+%doc ./dwarfdump2/README
+%endif
 
 %files doc
 %defattr(-,root,root)

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to