[packages/libdwarf] - updated to 20150915 - updated makefile patch
qboosh
qboosh at pld-linux.org
Sat Oct 24 23:00:11 CEST 2015
commit 716f9a71a180fce4f799e5e10f8db2ab4036a6e3
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Oct 24 23:01:14 2015 +0200
- updated to 20150915
- updated makefile patch
libdwarf-makefile.patch | 10 +++++-----
libdwarf.spec | 12 ++++--------
2 files changed, 9 insertions(+), 13 deletions(-)
---
diff --git a/libdwarf.spec b/libdwarf.spec
index e30fc2f..b0741f9 100644
--- a/libdwarf.spec
+++ b/libdwarf.spec
@@ -1,12 +1,13 @@
Summary: Library to read DWARF debug information of an ELF object
Summary(pl.UTF-8): Biblioteka do odczytu informacji debugowych DWARF z obiektów ELF
Name: libdwarf
-Version: 20140208
-Release: 2
+Version: 20150915
+Release: 1
License: LGPL v2.1 (library), GPL v2 (utilities)
Group: Libraries
+#Source0Download: http://www.prevanders.net/dwarf.html
Source0: http://www.prevanders.net/%{name}-%{version}.tar.gz
-# Source0-md5: 4dc74e08a82fa1d3cab6ca6b9610761e
+# Source0-md5: 08d243ea44e39ceb15f72c1066857cc1
Patch0: %{name}-makefile.patch
Patch1: %{name}-link.patch
URL: http://www.prevanders.net/dwarf.html
@@ -73,10 +74,6 @@ cd ../dwarfdump
%configure
%{__make} || die "make dwarfdump failed"
-cd ../dwarfdump2
-%configure
-%{__make} || die "make dwarfdump2 failed"
-
cd ../dwarfgen
%configure
%{__make} || die "make dwarfgen failed"
@@ -92,7 +89,6 @@ cp -p libdwarf/libdwarf.a $RPM_BUILD_ROOT%{_libdir}
cp -p libdwarf/libdwarf.h $RPM_BUILD_ROOT%{_includedir}
for d in dwarfdump; do
- # dwarfdump2 is just a C++ version of dwarfdump
# dwarfgen is not really useful yet (just test/example program)
%{__make} -C $d install \
DESTDIR=$RPM_BUILD_ROOT
diff --git a/libdwarf-makefile.patch b/libdwarf-makefile.patch
index 15a3410..233b42e 100644
--- a/libdwarf-makefile.patch
+++ b/libdwarf-makefile.patch
@@ -1,5 +1,5 @@
---- dwarf-20120410/dwarfdump/Makefile.in.orig 2012-04-10 20:48:29.000000000 +0200
-+++ dwarf-20120410/dwarfdump/Makefile.in 2012-08-29 16:12:14.974029480 +0200
+--- dwarf-20150915/dwarfdump/Makefile.in.orig 2015-09-15 18:36:08.000000000 +0200
++++ dwarf-20150915/dwarfdump/Makefile.in 2015-10-24 22:55:36.597568219 +0200
@@ -12,7 +12,7 @@
prefix = @prefix@
exec_prefix = @exec_prefix@
@@ -17,10 +17,10 @@
-LDFLAGS = $(PRELIBS) @LDFLAGS@ $(LIBS) $(POSTLIBS)
+CFLAGS = $(PREINCS) @CFLAGS@ $(INCLUDES) -DCONFPREFIX=${sysconfdir} $(POSTINCS)
+LDFLAGS = $(PRELIBS) @LDFLAGS@ -Wl,-rpath,../libdwarf $(LIBS) $(POSTLIBS)
+ #VG = valgrind --leak-check=full
+ VG =
-
- INSTALL = cp
-@@ -151,9 +151,9 @@
+@@ -191,9 +191,9 @@
# will work and leave sensible permissions on the resulting files.
# Some adjustment might be required, see README.
install: all
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libdwarf.git/commitdiff/716f9a71a180fce4f799e5e10f8db2ab4036a6e3
More information about the pld-cvs-commit
mailing list