[packages/dyninst] - updated to 9.2.0 - updated libname patch

qboosh qboosh at pld-linux.org
Mon Aug 1 20:32:36 CEST 2016


commit 91c3c392ef3d2c5260a2294b58472e64e17e9c54
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Aug 1 20:33:14 2016 +0200

    - updated to 9.2.0
    - updated libname patch

 dyninst-libname.patch | 10 +++++-----
 dyninst.spec          | 40 +++++++++++++++++++++-------------------
 2 files changed, 26 insertions(+), 24 deletions(-)
---
diff --git a/dyninst.spec b/dyninst.spec
index af11833..8b0ddb4 100644
--- a/dyninst.spec
+++ b/dyninst.spec
@@ -1,13 +1,14 @@
 Summary:	API for Run-time Code Generation
 Summary(pl.UTF-8):	API do generowania kodu w czasie działania
 Name:		dyninst
-Version:	9.1.0
-Release:	2
+Version:	9.2.0
+Release:	1
 License:	LGPL v2.1+
 Group:		Libraries
-#Source0Download: http://www.dyninst.org/downloads/dyninst-9.x
-Source0:	http://www.paradyn.org/release%{version}/DyninstAPI-%{version}.tgz
-# Source0-md5:	5c64b77521457199db44bec82e4988ac
+# http://www.dyninst.org/downloads/dyninst-9.x
+#Source0Download: https://github.com/dyninst/dyninst/releases
+Source0:	https://github.com/dyninst/dyninst/archive/v%{version}/%{name}-%{version}.tar.gz
+# Source0-md5:	ad023f85e8e57837ed9de073b59d6bab
 Patch0:		%{name}-libname.patch
 Patch1:		%{name}-x32.patch
 URL:		http://www.dyninst.org/dyninst
@@ -83,7 +84,7 @@ Documentation for dyninst libraries.
 Dokumentacja do bibliotek dyninst.
 
 %prep
-%setup -q -n DyninstAPI-%{version}
+%setup -q
 %patch0 -p1
 %patch1 -p1
 
@@ -111,32 +112,33 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc COPYRIGHT ChangeLog README
+%attr(755,root,root) %{_bindir}/parseThat
 %attr(755,root,root) %{_libdir}/libdynC_API.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libdynC_API.so.9.1
+%attr(755,root,root) %ghost %{_libdir}/libdynC_API.so.9.2
 %attr(755,root,root) %{_libdir}/libdynDwarf.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libdynDwarf.so.9.1
+%attr(755,root,root) %ghost %{_libdir}/libdynDwarf.so.9.2
 %attr(755,root,root) %{_libdir}/libdynElf.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libdynElf.so.9.1
+%attr(755,root,root) %ghost %{_libdir}/libdynElf.so.9.2
 %attr(755,root,root) %{_libdir}/libdyncommon.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libdyncommon.so.9.1
+%attr(755,root,root) %ghost %{_libdir}/libdyncommon.so.9.2
 %attr(755,root,root) %{_libdir}/libdyninstAPI.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libdyninstAPI.so.9.1
+%attr(755,root,root) %ghost %{_libdir}/libdyninstAPI.so.9.2
 %attr(755,root,root) %{_libdir}/libdyninstAPI_RT.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libdyninstAPI_RT.so.9.1
+%attr(755,root,root) %ghost %{_libdir}/libdyninstAPI_RT.so.9.2
 %attr(755,root,root) %{_libdir}/libinstructionAPI.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libinstructionAPI.so.9.1
+%attr(755,root,root) %ghost %{_libdir}/libinstructionAPI.so.9.2
 %attr(755,root,root) %{_libdir}/libparseAPI.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libparseAPI.so.9.1
+%attr(755,root,root) %ghost %{_libdir}/libparseAPI.so.9.2
 %attr(755,root,root) %{_libdir}/libpatchAPI.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libpatchAPI.so.9.1
+%attr(755,root,root) %ghost %{_libdir}/libpatchAPI.so.9.2
 %attr(755,root,root) %{_libdir}/libpcontrol.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libpcontrol.so.9.1
+%attr(755,root,root) %ghost %{_libdir}/libpcontrol.so.9.2
 %attr(755,root,root) %{_libdir}/libstackwalk.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libstackwalk.so.9.1
+%attr(755,root,root) %ghost %{_libdir}/libstackwalk.so.9.2
 %attr(755,root,root) %{_libdir}/libsymLite.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libsymLite.so.9.1
+%attr(755,root,root) %ghost %{_libdir}/libsymLite.so.9.2
 %attr(755,root,root) %{_libdir}/libsymtabAPI.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libsymtabAPI.so.9.1
+%attr(755,root,root) %ghost %{_libdir}/libsymtabAPI.so.9.2
 
 %files devel
 %defattr(644,root,root,755)
diff --git a/dyninst-libname.patch b/dyninst-libname.patch
index c846097..e9903c6 100644
--- a/dyninst-libname.patch
+++ b/dyninst-libname.patch
@@ -1,10 +1,10 @@
---- DyninstAPI-9.0.3/common/CMakeLists.txt.orig	2015-08-26 18:13:07.000000000 +0200
-+++ DyninstAPI-9.0.3/common/CMakeLists.txt	2015-10-25 08:20:06.636787299 +0100
+--- dyninst-9.2.0/common/CMakeLists.txt.orig	2016-08-01 18:54:27.138427786 +0200
++++ dyninst-9.2.0/common/CMakeLists.txt	2016-08-01 18:56:45.575092871 +0200
 @@ -112,6 +112,7 @@
  endif()
  
  dyninst_library(common ${DEPS})
 +set_target_properties(common PROPERTIES OUTPUT_NAME dyncommon)
- 
- if(PLATFORM MATCHES nt OR PLATFORM MATCHES windows)
-   target_link_libraries(common Psapi WS2_32 dbghelp)
+ if (UNIX)
+   # Boost auto-links on Windows; don't double-link
+   target_link_private_libraries(common ${Boost_LIBRARIES})
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/dyninst.git/commitdiff/91c3c392ef3d2c5260a2294b58472e64e17e9c54



More information about the pld-cvs-commit mailing list