From 81f720c8273e0fc7ea5349cac865b287125ffec5065f5b49d7b7cb17d30e58b7 Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Mon, 14 Jan 2013 10:35:43 +0000 Subject: [PATCH] Accepting request 148114 from home:posophe:branches:devel:languages:python update to 3.3 OBS-URL: https://build.opensuse.org/request/show/148114 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-distorm3?expand=0&rev=11 --- distorm3-1.0.zip | 3 --- distorm3-3.3.zip | 3 +++ python-distorm3.changes | 27 +++++++++++++++++++++++++++ python-distorm3.spec | 10 ++++++---- 4 files changed, 36 insertions(+), 7 deletions(-) delete mode 100644 distorm3-1.0.zip create mode 100644 distorm3-3.3.zip diff --git a/distorm3-1.0.zip b/distorm3-1.0.zip deleted file mode 100644 index d622ad1..0000000 --- a/distorm3-1.0.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f381d0ddabed04ee9161633d3eb3c0bdb87100accd9b669385d4d72b36931f69 -size 137505 diff --git a/distorm3-3.3.zip b/distorm3-3.3.zip new file mode 100644 index 0000000..a289075 --- /dev/null +++ b/distorm3-3.3.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d311d232e108def8acac0d4f6514e7bc070e37d7aa123ab9a9a05b9322321582 +size 239738 diff --git a/python-distorm3.changes b/python-distorm3.changes index 2423804..59d1e92 100644 --- a/python-distorm3.changes +++ b/python-distorm3.changes @@ -1,3 +1,30 @@ +------------------------------------------------------------------- +Fri Jan 11 17:15:31 UTC 2013 - p.drouand@gmail.com + +- Update to 3.3 version: + * The structure of a decoded instruction now contains new fields + that let one know how the instruction affected the CPU flags (modified, + tested, undefined). For more info see the last three fields of the + DInst structure inside DecomposeInterface. + * Compacted the DB of instructions much more, with another level of + shared data among similar instructions... + * The Python bindings now support the control flow features that + diStorm3 itself support, thanks to Vext01. +- Remove duplicate files with fdupes + +------------------------------------------------------------------- +Fri Jan 11 17:14:12 UTC 2013 - p.drouand@gmail.com + +- Update to 3.2 version: + * Fixed many instructions, either operand accuracy problems or typos + in mnemonics. + * Fixed a few bugs introduced in July 2011. + * Added new instructions such as: INVPCID, TZCNT, RDxSBASE, WRxSBASE, + CVTPS2PH, CVTPH2PS and more. Added a new compiler directive DISTORM_LIGHT + to compile only distorm_decompose (no text formatting) to make diStorm + smaller in size (should save around 20kb), thanks to Marius Negrutiu of BullGuard. + * Fixed the Java wrapper to support latest version. + ------------------------------------------------------------------- Thu Jan 3 19:03:02 UTC 2013 - toddrme2178@gmail.com diff --git a/python-distorm3.spec b/python-distorm3.spec index 2b15ee3..c8367e2 100644 --- a/python-distorm3.spec +++ b/python-distorm3.spec @@ -1,7 +1,7 @@ # # spec file for package python-distorm3 # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,17 +16,18 @@ # Name: python-distorm3 -Version: 1.0 +Version: 3.3 Release: 0 License: GPL-3.0 Summary: Powerful Disassembler Library For x86/AMD64 Url: http://code.google.com/p/distorm/ Group: Development/Libraries/Python -Source: distorm3-1.0.zip +Source: distorm3-%{version}.zip Patch0: 0001-don-t-stutter-static-on-BigEndian.patch BuildRequires: pkg-config BuildRequires: python-devel > 2.5 BuildRequires: unzip +BuildRequires: fdupes BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} && 0%{?suse_version} <= 1110 %{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} @@ -36,7 +37,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build No more parsing strings! - diStorm3 is really a decomposer, which means it takes an instruction and returns a binary structure which describes it rather than static text. %prep -%setup -q -n distorm3-1.0 +%setup -q -n distorm3 %patch0 -p1 %build @@ -50,6 +51,7 @@ install -d %{buildroot}%{python_sitearch} mv %{buildroot}%{python_sitelib}/* %{buildroot}%{python_sitearch} %endif %endif +%fdupes -s %{buildroot} %files %defattr(-,root,root)