diff --git a/dyninst-10.2.1.tar.gz b/dyninst-11.0.1.tar.gz similarity index 54% rename from dyninst-10.2.1.tar.gz rename to dyninst-11.0.1.tar.gz index 7634307..7034c93 100644 Binary files a/dyninst-10.2.1.tar.gz and b/dyninst-11.0.1.tar.gz differ diff --git a/dyninst.spec b/dyninst.spec index 7848b7c..954ce3d 100644 --- a/dyninst.spec +++ b/dyninst.spec @@ -1,21 +1,18 @@ Name: dyninst License: LGPLv2+ Release: 1 -Version: 10.2.1 +Version: 11.0.1 Summary: An API for Run-time Code Generation ExclusiveArch: x86_64 aarch64 %global dyninst_base dyninst-%{version} -%global testsuite_version 10.1.0 +%global testsuite_version 11.0.1 %global testsuite_base testsuite-%{testsuite_version} URL: http://www.dyninst.org Source0: https://github.com/dyninst/dyninst/archive/v%{version}/dyninst-%{version}.tar.gz Source1: https://github.com/dyninst/testsuite/archive/v%{testsuite_version}/%{testsuite_base}.tar.gz -Patch0: testsuite-10.1.0-gettid.patch -Patch1: testsuite-10.1.0-throw.patch - BuildRequires: cmake gcc-c++ BuildRequires: binutils-devel boost-devel BuildRequires: elfutils-libelf-devel @@ -51,9 +48,6 @@ dyninst-doc contains API documentation for the Dyninst libraries. %setup -q -n %{name}-%{version} -c %setup -q -T -D -a 1 -%patch0 -p1 -b.gettid -%patch1 -p1 -b .throw - sed -i.cotire -e 's/USE_COTIRE true/USE_COTIRE false/' \ %{dyninst_base}/cmake/shared.cmake @@ -141,6 +135,9 @@ find %{buildroot}%{_libdir}/dyninst/testsuite/ \ %doc %{dyninst_base}/symtabAPI/doc/symtabAPI.pdf %changelog +* Sat Dec 4 2021 zhouwenpei - 11.0.1-1 +- update to 11.0.1 + * Sat Jan 30 2021 xinghe - 10.2.1-1 - update to 10.2.1 diff --git a/testsuite-10.1.0-gettid.patch b/testsuite-10.1.0-gettid.patch deleted file mode 100644 index 50a1c13..0000000 --- a/testsuite-10.1.0-gettid.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- dyninst-10.2.1/testsuite-10.1.0/src/proccontrol/pcontrol_mutatee_tools.c.orig 2019-05-31 05:20:00.492379706 +0200 -+++ dyninst-10.2.1/testsuite-10.1.0/src/proccontrol/pcontrol_mutatee_tools.c 2019-05-31 05:10:11.354826668 +0200 -@@ -62,9 +62,9 @@ - #if !defined(os_windows_test) - #include - --static unsigned int gettid(){ -- return (unsigned int)pthread_self(); --} -+// static unsigned int gettid(){ -+// return (unsigned int)pthread_self(); -+// } - #endif - - thread_t threads[MAX_POSSIBLE_THREADS]; diff --git a/testsuite-10.1.0-throw.patch b/testsuite-10.1.0-throw.patch deleted file mode 100644 index 1de80a7..0000000 --- a/testsuite-10.1.0-throw.patch +++ /dev/null @@ -1,29 +0,0 @@ -diff --git a/testsuite-10.1.0/src/test_lib.C b/testsuite-10.1.0/src/test_lib.C -index 3808c79..73d5dff 100644 ---- a/testsuite-10.1.0/src/test_lib.C -+++ b/testsuite-10.1.0/src/test_lib.C -@@ -110,7 +110,7 @@ LocErr::LocErr(const char *__file__, const int __line__, const std::string msg) - line__(__line__) - {} - --LocErr::~LocErr() THROW -+LocErr::~LocErr() throw() - {} - - std::string LocErr::file() const -diff --git a/testsuite-10.1.0/src/test_lib.h b/testsuite-10.1.0/src/test_lib.h -index d2a1940..b37676d 100644 ---- a/testsuite-10.1.0/src/test_lib.h -+++ b/testsuite-10.1.0/src/test_lib.h -@@ -156,7 +156,7 @@ class LocErr - const int __line__, - const std::string msg); - -- TESTLIB_DLL_EXPORT virtual ~LocErr() THROW; -+ TESTLIB_DLL_EXPORT virtual ~LocErr() throw(); - - TESTLIB_DLL_EXPORT std::string file() const; - --- -2.23.0 - diff --git a/testsuite-10.1.0.tar.gz b/testsuite-10.1.0.tar.gz deleted file mode 100644 index 020f494..0000000 Binary files a/testsuite-10.1.0.tar.gz and /dev/null differ diff --git a/testsuite-11.0.1.tar.gz b/testsuite-11.0.1.tar.gz new file mode 100644 index 0000000..4bbe6a0 Binary files /dev/null and b/testsuite-11.0.1.tar.gz differ