commit python-distorm3 for openSUSE:Factory

2020-07-01 Thread root
Hello community,

here is the log from the commit of package python-distorm3 for openSUSE:Factory 
checked in at 2020-07-01 14:27:05

Comparing /work/SRC/openSUSE:Factory/python-distorm3 (Old)
 and  /work/SRC/openSUSE:Factory/.python-distorm3.new.3060 (New)


Package is "python-distorm3"

Wed Jul  1 14:27:05 2020 rev:18 rq:817970 version:3.5.0

Changes:

--- /work/SRC/openSUSE:Factory/python-distorm3/python-distorm3.changes  
2020-04-02 17:45:24.969533755 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-distorm3.new.3060/python-distorm3.changes
2020-07-01 14:27:07.042846168 +0200
@@ -1,0 +2,6 @@
+Wed Jul  1 05:54:34 UTC 2020 - Steve Kowalik 
+
+- Update to 3.5.0:
+  * No upstream changelog. 
+
+---

Old:

  distorm3-3.4.2.tar.gz

New:

  distorm3-3.5.0.tar.gz



Other differences:
--
++ python-distorm3.spec ++
--- /var/tmp/diff_new_pack.CgTsFM/_old  2020-07-01 14:27:07.622847966 +0200
+++ /var/tmp/diff_new_pack.CgTsFM/_new  2020-07-01 14:27:07.626847979 +0200
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define modname distorm3
 Name:   python-%{modname}
-Version:3.4.2
+Version:3.5.0
 Release:0
 Summary:Disassembler Library For x86/AMD64
 License:BSD-3-Clause

++ distorm3-3.4.2.tar.gz -> distorm3-3.5.0.tar.gz ++
 17628 lines of diff (skipped)




commit python-distorm3 for openSUSE:Factory

2020-04-02 Thread root
Hello community,

here is the log from the commit of package python-distorm3 for openSUSE:Factory 
checked in at 2020-04-02 17:45:02

Comparing /work/SRC/openSUSE:Factory/python-distorm3 (Old)
 and  /work/SRC/openSUSE:Factory/.python-distorm3.new.3248 (New)


Package is "python-distorm3"

Thu Apr  2 17:45:02 2020 rev:17 rq:790881 version:3.4.2

Changes:

--- /work/SRC/openSUSE:Factory/python-distorm3/python-distorm3.changes  
2020-01-27 00:24:49.529564501 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-distorm3.new.3248/python-distorm3.changes
2020-04-02 17:45:24.969533755 +0200
@@ -1,0 +2,7 @@
+Thu Apr  2 12:09:51 UTC 2020 - Marketa Calabkova 
+
+- Update to 3.4.2
+  * mostly test fixes
+- Merged patch up_to_HEAD.patch
+
+---

Old:

  distorm3-3.4.1.tar.gz
  up_to_HEAD.patch

New:

  distorm3-3.4.2.tar.gz



Other differences:
--
++ python-distorm3.spec ++
--- /var/tmp/diff_new_pack.MdspEK/_old  2020-04-02 17:45:26.149535180 +0200
+++ /var/tmp/diff_new_pack.MdspEK/_new  2020-04-02 17:45:26.153535186 +0200
@@ -18,17 +18,14 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define modname distorm3
-%define lastversion 3.4.1
 Name:   python-%{modname}
-Version:3.4.1+git651137b
+Version:3.4.2
 Release:0
 Summary:Disassembler Library For x86/AMD64
 License:BSD-3-Clause
 Group:  Development/Libraries/Python
 URL:https://github.com/gdabah/distorm
-Source: 
https://files.pythonhosted.org/packages/source/d/distorm3/%{modname}-%{lastversion}.tar.gz
-# To solve gh#gdabah/distorm#124, among other problems
-Patch0: up_to_HEAD.patch
+Source: 
https://files.pythonhosted.org/packages/source/d/distorm3/%{modname}-%{version}.tar.gz
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
@@ -42,8 +39,7 @@
 text.
 
 %prep
-%setup -q -n %{modname}-%{lastversion}
-%autopatch -p1
+%setup -q -n %{modname}-%{version}
 
 %build
 export CFLAGS="%{optflags}"

++ distorm3-3.4.1.tar.gz -> distorm3-3.4.2.tar.gz ++
 11064 lines of diff (skipped)




commit python-distorm3 for openSUSE:Factory

2020-01-26 Thread root
Hello community,

here is the log from the commit of package python-distorm3 for openSUSE:Factory 
checked in at 2020-01-27 00:24:27

Comparing /work/SRC/openSUSE:Factory/python-distorm3 (Old)
 and  /work/SRC/openSUSE:Factory/.python-distorm3.new.26092 (New)


Package is "python-distorm3"

Mon Jan 27 00:24:27 2020 rev:16 rq:767508 version:3.4.1+git651137b

Changes:

--- /work/SRC/openSUSE:Factory/python-distorm3/python-distorm3.changes  
2019-03-12 09:53:55.087532040 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-distorm3.new.26092/python-distorm3.changes   
2020-01-27 00:24:49.529564501 +0100
@@ -1,0 +2,7 @@
+Sun Jan 26 18:05:59 CET 2020 - Matej Cepl 
+
+- Add up_to_HEAD.patch patch containing all commits until
+  651137b (to fix gh#gdabah/distorm#124, among other issues) and
+  test new setup.py.
+
+---

New:

  up_to_HEAD.patch



Other differences:
--
++ python-distorm3.spec ++
--- /var/tmp/diff_new_pack.sFg9jq/_old  2020-01-27 00:24:51.685565517 +0100
+++ /var/tmp/diff_new_pack.sFg9jq/_new  2020-01-27 00:24:51.685565517 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-distorm3
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,14 +18,17 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define modname distorm3
+%define lastversion 3.4.1
 Name:   python-%{modname}
-Version:3.4.1
+Version:3.4.1+git651137b
 Release:0
 Summary:Disassembler Library For x86/AMD64
 License:BSD-3-Clause
 Group:  Development/Libraries/Python
 URL:https://github.com/gdabah/distorm
-Source: 
https://files.pythonhosted.org/packages/source/d/distorm3/%{modname}-%{version}.tar.gz
+Source: 
https://files.pythonhosted.org/packages/source/d/distorm3/%{modname}-%{lastversion}.tar.gz
+# To solve gh#gdabah/distorm#124, among other problems
+Patch0: up_to_HEAD.patch
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
@@ -39,7 +42,8 @@
 text.
 
 %prep
-%setup -q -n %{modname}-%{version}
+%setup -q -n %{modname}-%{lastversion}
+%autopatch -p1
 
 %build
 export CFLAGS="%{optflags}"

++ up_to_HEAD.patch ++
 4881 lines (skipped)




commit python-distorm3 for openSUSE:Factory

2019-03-12 Thread root
Hello community,

here is the log from the commit of package python-distorm3 for openSUSE:Factory 
checked in at 2019-03-12 09:53:52

Comparing /work/SRC/openSUSE:Factory/python-distorm3 (Old)
 and  /work/SRC/openSUSE:Factory/.python-distorm3.new.28833 (New)


Package is "python-distorm3"

Tue Mar 12 09:53:52 2019 rev:15 rq:682846 version:3.4.1

Changes:

--- /work/SRC/openSUSE:Factory/python-distorm3/python-distorm3.changes  
2018-11-12 09:42:05.413131960 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-distorm3.new.28833/python-distorm3.changes   
2019-03-12 09:53:55.087532040 +0100
@@ -1,0 +2,9 @@
+Fri Mar  8 13:26:27 UTC 2019 - Tomáš Chvátal 
+
+- Update to 3.4.1:
+  * various small fixes around
+- Merged patches:
+  * 0001-don-t-stutter-static-on-BigEndian.patch
+  * reproducible.patch
+
+---

Old:

  0001-don-t-stutter-static-on-BigEndian.patch
  distorm3-3.3.4.zip
  reproducible.patch

New:

  distorm3-3.4.1.tar.gz



Other differences:
--
++ python-distorm3.spec ++
--- /var/tmp/diff_new_pack.rRMSHW/_old  2019-03-12 09:53:56.199531818 +0100
+++ /var/tmp/diff_new_pack.rRMSHW/_new  2019-03-12 09:53:56.207531817 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-distorm3
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,17 +19,13 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define modname distorm3
 Name:   python-%{modname}
-Version:3.3.4
+Version:3.4.1
 Release:0
 Summary:Disassembler Library For x86/AMD64
 License:BSD-3-Clause
 Group:  Development/Libraries/Python
 URL:https://github.com/gdabah/distorm
-Source: 
https://files.pythonhosted.org/packages/source/d/distorm3/%{modname}-%{version}.zip
-# Issue filed upstream https://github.com/gdabah/distorm/issues/123
-Patch0: 0001-don-t-stutter-static-on-BigEndian.patch
-# PATCH-FIX-UPSTREAM https://github.com/gdabah/distorm/pull/116
-Patch1: reproducible.patch
+Source: 
https://files.pythonhosted.org/packages/source/d/distorm3/%{modname}-%{version}.tar.gz
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
@@ -44,8 +40,6 @@
 
 %prep
 %setup -q -n %{modname}-%{version}
-%patch0 -p1
-%patch1 -p1
 
 %build
 export CFLAGS="%{optflags}"
@@ -53,12 +47,6 @@
 
 %install
 %python_install
-# setup.py install puts files into wrong directory
-# https://github.com/gdabah/distorm/issues/124
-if [ "x%_lib" != "xlib" ]; then
-   %python_expand mkdir -p %{buildroot}%{$python_sitearch}
-   %python_expand mv -v %{buildroot}%{$python_sitelib}/%{modname}* 
%{buildroot}%{$python_sitearch}
-fi
 %python_expand %fdupes %{buildroot}%{$python_sitearch}
 
 # tests are not packaged in the upstream tarball




commit python-distorm3 for openSUSE:Factory

2018-11-12 Thread root
Hello community,

here is the log from the commit of package python-distorm3 for openSUSE:Factory 
checked in at 2018-11-12 09:42:02

Comparing /work/SRC/openSUSE:Factory/python-distorm3 (Old)
 and  /work/SRC/openSUSE:Factory/.python-distorm3.new (New)


Package is "python-distorm3"

Mon Nov 12 09:42:02 2018 rev:14 rq:647595 version:3.3.4

Changes:

--- /work/SRC/openSUSE:Factory/python-distorm3/python-distorm3.changes  
2018-07-27 10:58:13.437874124 +0200
+++ /work/SRC/openSUSE:Factory/.python-distorm3.new/python-distorm3.changes 
2018-11-12 09:42:05.413131960 +0100
@@ -1,0 +2,7 @@
+Fri Nov  9 11:37:56 UTC 2018 - Matej Cepl 
+
+- Updated 0001-don-t-stutter-static-on-BigEndian.patch from personal
+  communication with the upstream developer to make test suite pass
+  completely on Big Endian machines.
+
+---



Other differences:
--
++ python-distorm3.spec ++
--- /var/tmp/diff_new_pack.hqrFU6/_old  2018-11-12 09:42:05.913131246 +0100
+++ /var/tmp/diff_new_pack.hqrFU6/_new  2018-11-12 09:42:05.917131240 +0100
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 

++ 0001-don-t-stutter-static-on-BigEndian.patch ++
--- /var/tmp/diff_new_pack.hqrFU6/_old  2018-11-12 09:42:05.941131206 +0100
+++ /var/tmp/diff_new_pack.hqrFU6/_new  2018-11-12 09:42:05.945131201 +0100
@@ -10,15 +10,59 @@
 
 --- a/src/config.h
 +++ b/src/config.h
-@@ -57,7 +57,7 @@ This library is licensed under the BSD l
- 
- #define _DLLEXPORT_
- #define _FASTCALL_
--#define _INLINE_ static
-+#define _INLINE_
- /* GCC ignores this directive... */
- /*#define _FASTCALL_ __attribute__((__fastcall__))*/
+@@ -128,34 +128,45 @@ This library is licensed under the BSD l
  
+ /* Define stream read functions for big endian systems. */
+ #ifdef BE_SYSTEM
++
++/* Avoid defining 'static static' for GCC. */
++#ifndef __GNUC__
++#define STATIC_INLINE static _INLINE_
++#else
++#define STATIC_INLINE static
++#endif
++
+ /*
+- * These functions can read from the stream safely!
++ * Assumption: These functions can read from the stream safely!
+  * Swap endianity of input to little endian.
+  */
+-static _INLINE_ int16_t RSHORT(const uint8_t *s)
++STATIC_INLINE int16_t RSHORT(const uint8_t *s)
+ {
+   return s[0] | (s[1] << 8);
+ }
+-static _INLINE_ uint16_t RUSHORT(const uint8_t *s)
++STATIC_INLINE uint16_t RUSHORT(const uint8_t *s)
+ {
+   return s[0] | (s[1] << 8);
+ }
+-static _INLINE_ int32_t RLONG(const uint8_t *s)
++STATIC_INLINE int32_t RLONG(const uint8_t *s)
+ {
+   return s[0] | (s[1] << 8) | (s[2] << 16) | (s[3] << 24);
+ }
+-static _INLINE_ uint32_t RULONG(const uint8_t *s)
++STATIC_INLINE uint32_t RULONG(const uint8_t *s)
+ {
+   return s[0] | (s[1] << 8) | (s[2] << 16) | (s[3] << 24);
+ }
+-static _INLINE_ int64_t RLLONG(const uint8_t *s)
++STATIC_INLINE int64_t RLLONG(const uint8_t *s)
+ {
+   return s[0] | (s[1] << 8) | (s[2] << 16) | (s[3] << 24) | 
((uint64_t)s[4] << 32) | ((uint64_t)s[5] << 40) | ((uint64_t)s[6] << 48) | 
((uint64_t)s[7] << 56);
+ }
+-static _INLINE_ uint64_t RULLONG(const uint8_t *s)
++STATIC_INLINE uint64_t RULLONG(const uint8_t *s)
+ {
+   return s[0] | (s[1] << 8) | (s[2] << 16) | (s[3] << 24) | 
((uint64_t)s[4] << 32) | ((uint64_t)s[5] << 40) | ((uint64_t)s[6] << 48) | 
((uint64_t)s[7] << 56);
+ }
++
++#undef STATIC_INLINE
++
+ #else
+ /* Little endian macro's will just make the cast. */
+ #define RSHORT(x) *(int16_t *)x
 --- a/src/prefix.c
 +++ b/src/prefix.c
 @@ -116,7 +116,7 @@ uint16_t prefixes_set_unused_mask(_Prefi





commit python-distorm3 for openSUSE:Factory

2018-07-27 Thread root
Hello community,

here is the log from the commit of package python-distorm3 for openSUSE:Factory 
checked in at 2018-07-27 10:57:15

Comparing /work/SRC/openSUSE:Factory/python-distorm3 (Old)
 and  /work/SRC/openSUSE:Factory/.python-distorm3.new (New)


Package is "python-distorm3"

Fri Jul 27 10:57:15 2018 rev:13 rq:625424 version:3.3.4

Changes:

--- /work/SRC/openSUSE:Factory/python-distorm3/python-distorm3.changes  
2018-07-23 18:03:49.524721283 +0200
+++ /work/SRC/openSUSE:Factory/.python-distorm3.new/python-distorm3.changes 
2018-07-27 10:58:13.437874124 +0200
@@ -1,0 +2,6 @@
+Thu Jul 26 10:38:47 UTC 2018 - jeng...@inai.de
+
+- Remove rhetorics from descriptions.
+- Avoid bashisms in %install.
+
+---



Other differences:
--
++ python-distorm3.spec ++
--- /var/tmp/diff_new_pack.HVheay/_old  2018-07-27 10:58:13.793874805 +0200
+++ /var/tmp/diff_new_pack.HVheay/_new  2018-07-27 10:58:13.797874813 +0200
@@ -21,7 +21,7 @@
 Name:   python-%{modname}
 Version:3.3.4
 Release:0
-Summary:Powerful Disassembler Library For x86/AMD64
+Summary:Disassembler Library For x86/AMD64
 License:BSD-3-Clause
 Group:  Development/Libraries/Python
 URL:https://github.com/gdabah/distorm
@@ -38,9 +38,9 @@
 %python_subpackages
 
 %description
-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.
+diStorm3 is a decomposer, which means it takes an instruction and
+returns a binary structure which describes it rather than static
+text.
 
 %prep
 %setup -q -n %{modname}-%{version}
@@ -55,7 +55,7 @@
 %python_install
 # setup.py install puts files into wrong directory
 # https://github.com/gdabah/distorm/issues/124
-if  [[ "x%_lib" != 'xlib' ]]; then
+if [ "x%_lib" != "xlib" ]; then
%python_expand mkdir -p %{buildroot}%{$python_sitearch}
%python_expand mv -v %{buildroot}%{$python_sitelib}/%{modname}* 
%{buildroot}%{$python_sitearch}
 fi





commit python-distorm3 for openSUSE:Factory

2018-07-23 Thread root
Hello community,

here is the log from the commit of package python-distorm3 for openSUSE:Factory 
checked in at 2018-07-23 18:02:54

Comparing /work/SRC/openSUSE:Factory/python-distorm3 (Old)
 and  /work/SRC/openSUSE:Factory/.python-distorm3.new (New)


Package is "python-distorm3"

Mon Jul 23 18:02:54 2018 rev:12 rq:624711 version:3.3.4

Changes:

--- /work/SRC/openSUSE:Factory/python-distorm3/python-distorm3.changes  
2018-07-09 13:27:19.230988610 +0200
+++ /work/SRC/openSUSE:Factory/.python-distorm3.new/python-distorm3.changes 
2018-07-23 18:03:49.524721283 +0200
@@ -1,0 +2,5 @@
+Mon Jul 23 10:25:20 UTC 2018 - tchva...@suse.com
+
+- Fix i586 build
+
+---



Other differences:
--
++ python-distorm3.spec ++
--- /var/tmp/diff_new_pack.Iz3ls0/_old  2018-07-23 18:03:49.964720740 +0200
+++ /var/tmp/diff_new_pack.Iz3ls0/_new  2018-07-23 18:03:49.968720735 +0200
@@ -31,6 +31,7 @@
 # PATCH-FIX-UPSTREAM https://github.com/gdabah/distorm/pull/116
 Patch1: reproducible.patch
 BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 BuildRequires:  unzip
@@ -54,8 +55,10 @@
 %python_install
 # setup.py install puts files into wrong directory
 # https://github.com/gdabah/distorm/issues/124
-%python_expand mkdir -p %{buildroot}%{$python_sitearch}
-%python_expand mv -v %{buildroot}%{$python_sitelib}/%{modname}* 
%{buildroot}%{$python_sitearch}
+if  [[ "x%_lib" != 'xlib' ]]; then
+   %python_expand mkdir -p %{buildroot}%{$python_sitearch}
+   %python_expand mv -v %{buildroot}%{$python_sitelib}/%{modname}* 
%{buildroot}%{$python_sitearch}
+fi
 %python_expand %fdupes %{buildroot}%{$python_sitearch}
 
 # tests are not packaged in the upstream tarball





commit python-distorm3 for openSUSE:Factory

2018-07-09 Thread root
Hello community,

here is the log from the commit of package python-distorm3 for openSUSE:Factory 
checked in at 2018-07-09 13:27:17

Comparing /work/SRC/openSUSE:Factory/python-distorm3 (Old)
 and  /work/SRC/openSUSE:Factory/.python-distorm3.new (New)


Package is "python-distorm3"

Mon Jul  9 13:27:17 2018 rev:11 rq:620962 version:3.3.4

Changes:

--- /work/SRC/openSUSE:Factory/python-distorm3/python-distorm3.changes  
2018-06-29 22:32:07.426222454 +0200
+++ /work/SRC/openSUSE:Factory/.python-distorm3.new/python-distorm3.changes 
2018-07-09 13:27:19.230988610 +0200
@@ -1,0 +2,5 @@
+Thu Jun 21 12:52:53 UTC 2018 - mc...@suse.com
+
+- License is BSD-3-Clause, not GPL
+
+---



Other differences:
--
++ python-distorm3.spec ++
--- /var/tmp/diff_new_pack.5fpeyH/_old  2018-07-09 13:27:19.654987696 +0200
+++ /var/tmp/diff_new_pack.5fpeyH/_new  2018-07-09 13:27:19.654987696 +0200
@@ -18,16 +18,14 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define modname distorm3
-
 Name:   python-%{modname}
 Version:3.3.4
 Release:0
 Summary:Powerful Disassembler Library For x86/AMD64
-# TODO Is it so?
-License:GPL-3.0-only
+License:BSD-3-Clause
 Group:  Development/Libraries/Python
 URL:https://github.com/gdabah/distorm
-Source: 
https://files.pythonhosted.org/packages/source/d/%{modname}/%{modname}-%{version}.zip
+Source: 
https://files.pythonhosted.org/packages/source/d/distorm3/%{modname}-%{version}.zip
 # Issue filed upstream https://github.com/gdabah/distorm/issues/123
 Patch0: 0001-don-t-stutter-static-on-BigEndian.patch
 # PATCH-FIX-UPSTREAM https://github.com/gdabah/distorm/pull/116





commit python-distorm3 for openSUSE:Factory

2018-06-29 Thread root
Hello community,

here is the log from the commit of package python-distorm3 for openSUSE:Factory 
checked in at 2018-06-29 22:31:47

Comparing /work/SRC/openSUSE:Factory/python-distorm3 (Old)
 and  /work/SRC/openSUSE:Factory/.python-distorm3.new (New)


Package is "python-distorm3"

Fri Jun 29 22:31:47 2018 rev:10 rq:618311 version:3.3.4

Changes:

--- /work/SRC/openSUSE:Factory/python-distorm3/python-distorm3.changes  
2017-08-04 11:59:56.198913972 +0200
+++ /work/SRC/openSUSE:Factory/.python-distorm3.new/python-distorm3.changes 
2018-06-29 22:32:07.426222454 +0200
@@ -1,0 +2,10 @@
+Thu Jun 21 12:40:12 UTC 2018 - mc...@suse.com
+
+- Clean SPEC file
+
+---
+Thu Aug 24 13:36:13 UTC 2017 - jmate...@suse.com
+
+- singlespec auto-conversion
+
+---
@@ -64,0 +75 @@
+

Old:

  distorm3-3.3.zip

New:

  distorm3-3.3.4.zip



Other differences:
--
++ python-distorm3.spec ++
--- /var/tmp/diff_new_pack.bw2XZW/_old  2018-06-29 22:32:07.786222178 +0200
+++ /var/tmp/diff_new_pack.bw2XZW/_new  2018-06-29 22:32:07.790222175 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-distorm3
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX 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,24 +16,27 @@
 #
 
 
-Name:   python-distorm3
-Version:3.3
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%define modname distorm3
+
+Name:   python-%{modname}
+Version:3.3.4
 Release:0
 Summary:Powerful Disassembler Library For x86/AMD64
-License:GPL-3.0
+# TODO Is it so?
+License:GPL-3.0-only
 Group:  Development/Libraries/Python
-Url:http://code.google.com/p/distorm/
-Source: distorm3-%{version}.zip
+URL:https://github.com/gdabah/distorm
+Source: 
https://files.pythonhosted.org/packages/source/d/%{modname}/%{modname}-%{version}.zip
+# Issue filed upstream https://github.com/gdabah/distorm/issues/123
 Patch0: 0001-don-t-stutter-static-on-BigEndian.patch
 # PATCH-FIX-UPSTREAM https://github.com/gdabah/distorm/pull/116
 Patch1: reproducible.patch
+BuildRequires:  %{python_module devel}
 BuildRequires:  fdupes
-BuildRequires:  python-devel
+BuildRequires:  python-rpm-macros
 BuildRequires:  unzip
-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)")}
-%endif
+%python_subpackages
 
 %description
 No more parsing strings! - diStorm3 is really a decomposer, which means it
@@ -41,20 +44,26 @@
 than static text. 
 
 %prep
-%setup -q -n distorm3
+%setup -q -n %{modname}-%{version}
 %patch0 -p1
 %patch1 -p1
 
 %build
-CFLAGS="%{optflags}" python setup.py build
+export CFLAGS="%{optflags}"
+%python_build
 
 %install
-python setup.py install --root=%{buildroot} --prefix=%{_prefix} 
--install-lib=%{python_sitearch}
-%fdupes -s %{buildroot}
+%python_install
+# setup.py install puts files into wrong directory
+# https://github.com/gdabah/distorm/issues/124
+%python_expand mkdir -p %{buildroot}%{$python_sitearch}
+%python_expand mv -v %{buildroot}%{$python_sitelib}/%{modname}* 
%{buildroot}%{$python_sitearch}
+%python_expand %fdupes %{buildroot}%{$python_sitearch}
+
+# tests are not packaged in the upstream tarball
 
-%files
-%defattr(-,root,root)
-%doc COPYING
+%files %{python_files}
+%license COPYING
 %{python_sitearch}/*
 
 %changelog

++ 0001-don-t-stutter-static-on-BigEndian.patch ++
--- /var/tmp/diff_new_pack.bw2XZW/_old  2018-06-29 22:32:07.80166 +0200
+++ /var/tmp/diff_new_pack.bw2XZW/_new  2018-06-29 22:32:07.806222163 +0200
@@ -8,11 +8,9 @@
  src/prefix.c |2 +-
  2 files changed, 2 insertions(+), 2 deletions(-)
 
-diff --git a/src/config.h b/src/config.h
-index 7727168..3184cd4 100644
 --- a/src/config.h
 +++ b/src/config.h
-@@ -58,7 +58,7 @@ along with this program.  If not, see 

+@@ -57,7 +57,7 @@ This library is licensed under the BSD l
  
  #define _DLLEXPORT_
  #define _FASTCALL_
@@ -21,11 +19,9 @@
  /* GCC ignores this directive... */
  /*#define _FASTCALL_ __attribute__((__fastcall__))*/
  
-diff --git a/src/prefix.c b/src/prefix.c
-index 12bfb11..fff5d76 100644
 --- a/src/prefix.c
 +++ b/src/prefix.c
-@@ -128,7 +128,7 @@ uint16_t prefixes_set_unused_mask(_PrefixState* ps)
+@@ -116,7 

commit python-distorm3 for openSUSE:Factory

2017-08-04 Thread root
Hello community,

here is the log from the commit of package python-distorm3 for openSUSE:Factory 
checked in at 2017-08-04 11:59:52

Comparing /work/SRC/openSUSE:Factory/python-distorm3 (Old)
 and  /work/SRC/openSUSE:Factory/.python-distorm3.new (New)


Package is "python-distorm3"

Fri Aug  4 11:59:52 2017 rev:9 rq:512487 version:3.3

Changes:

--- /work/SRC/openSUSE:Factory/python-distorm3/python-distorm3.changes  
2013-04-22 14:31:43.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-distorm3.new/python-distorm3.changes 
2017-08-04 11:59:56.198913972 +0200
@@ -1,0 +2,5 @@
+Mon Jul 24 06:14:18 UTC 2017 - bwiedem...@suse.com
+
+- Add reproducible.patch to sort file list to fix build-compare (boo#1041090)
+
+---

New:

  reproducible.patch



Other differences:
--
++ python-distorm3.spec ++
--- /var/tmp/diff_new_pack.65zSeb/_old  2017-08-04 11:59:56.910813489 +0200
+++ /var/tmp/diff_new_pack.65zSeb/_new  2017-08-04 11:59:56.914812924 +0200
@@ -25,6 +25,8 @@
 Url:http://code.google.com/p/distorm/
 Source: distorm3-%{version}.zip
 Patch0: 0001-don-t-stutter-static-on-BigEndian.patch
+# PATCH-FIX-UPSTREAM https://github.com/gdabah/distorm/pull/116
+Patch1: reproducible.patch
 BuildRequires:  fdupes
 BuildRequires:  python-devel
 BuildRequires:  unzip
@@ -41,6 +43,7 @@
 %prep
 %setup -q -n distorm3
 %patch0 -p1
+%patch1 -p1
 
 %build
 CFLAGS="%{optflags}" python setup.py build


++ reproducible.patch ++
https://github.com/gdabah/distorm/pull/116

>From e300df86b8483f59dcd56c521eb5b8d07c9c92d9 Mon Sep 17 00:00:00 2001
From: "Bernhard M. Wiedemann" 
Date: Mon, 5 Jun 2017 21:59:26 +0200
Subject: [PATCH] sort input files

when building packages (e.g. for openSUSE Linux)
(random) filesystem order of input files
influences ordering of functions in the output,
thus without the patch, builds (in disposable VMs) would usually differ.

See https://reproducible-builds.org/ for why this matters.
---
 setup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/setup.py b/setup.py
index b14ad67..e035e5b 100644
--- a/setup.py
+++ b/setup.py
@@ -33,7 +33,7 @@ def get_sources():
 create the libdistorm3 library.
 """
 
-return glob('src/*.c')
+return sorted(glob('src/*.c'))
 
 
 class custom_build(build):



commit python-distorm3 for openSUSE:Factory

2013-04-22 Thread h_root
Hello community,

here is the log from the commit of package python-distorm3 for openSUSE:Factory 
checked in at 2013-04-22 14:31:42

Comparing /work/SRC/openSUSE:Factory/python-distorm3 (Old)
 and  /work/SRC/openSUSE:Factory/.python-distorm3.new (New)


Package is python-distorm3, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/python-distorm3/python-distorm3.changes  
2013-01-14 14:07:57.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-distorm3.new/python-distorm3.changes 
2013-04-22 14:31:43.0 +0200
@@ -1,0 +2,7 @@
+Mon Apr 22 10:20:20 UTC 2013 - speili...@suse.com
+
+- Drop custom sitelib/arch hacks, providing --install-lib also helps distorm3
+  to find the correct installation location. It's still a workaround though.
+- Drop unused pkg-config dependency
+
+---



Other differences:
--
++ python-distorm3.spec ++
--- /var/tmp/diff_new_pack.go8qW3/_old  2013-04-22 14:31:45.0 +0200
+++ /var/tmp/diff_new_pack.go8qW3/_new  2013-04-22 14:31:45.0 +0200
@@ -11,30 +11,32 @@
 # case the license is the MIT License). An Open Source License is a
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
-#
+
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 Name:   python-distorm3
 Version:3.3
 Release:0
-License:GPL-3.0
 Summary:Powerful Disassembler Library For x86/AMD64
-Url:http://code.google.com/p/distorm/
+License:GPL-3.0
 Group:  Development/Libraries/Python
+Url:http://code.google.com/p/distorm/
 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
+BuildRequires:  python-devel
+BuildRequires:  unzip
 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))}
 %endif
 
 %description
-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. 
+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
@@ -44,13 +46,7 @@
 CFLAGS=%{optflags} python setup.py build
 
 %install
-python setup.py install --root=%{buildroot} --prefix=%{_prefix}
-%ifarch x86_64 ppc64
-%if 0%{?suse_version}  0%{?suse_version}  1110
-install -d %{buildroot}%{python_sitearch}
-mv %{buildroot}%{python_sitelib}/* %{buildroot}%{python_sitearch}
-%endif
-%endif
+python setup.py install --root=%{buildroot} --prefix=%{_prefix} 
--install-lib=%{python_sitearch}
 %fdupes -s %{buildroot}
 
 %files


-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-distorm3 for openSUSE:Factory

2013-01-14 Thread h_root
Hello community,

here is the log from the commit of package python-distorm3 for openSUSE:Factory 
checked in at 2013-01-14 14:07:55

Comparing /work/SRC/openSUSE:Factory/python-distorm3 (Old)
 and  /work/SRC/openSUSE:Factory/.python-distorm3.new (New)


Package is python-distorm3, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/python-distorm3/python-distorm3.changes  
2012-07-30 09:37:38.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-distorm3.new/python-distorm3.changes 
2013-01-14 14:07:57.0 +0100
@@ -1,0 +2,32 @@
+Fri Jan 11 17:15:31 UTC 2013 - p.drou...@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.drou...@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 - toddrme2...@gmail.com
+
+- Fix builds for SLES 11
+
+---

Old:

  distorm3-1.0.zip

New:

  distorm3-3.3.zip



Other differences:
--
++ python-distorm3.spec ++
--- /var/tmp/diff_new_pack.1bgZdM/_old  2013-01-14 14:07:58.0 +0100
+++ /var/tmp/diff_new_pack.1bgZdM/_new  2013-01-14 14:07:58.0 +0100
@@ -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,28 +16,28 @@
 #
 
 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))}
-%{!?python_sitelib: %global python_sitelib %(python -c from 
distutils.sysconfig import get_python_lib; print get_python_lib())}
 %endif
 
 %description
 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
@@ -46,9 +46,12 @@
 %install
 python setup.py install --root=%{buildroot} --prefix=%{_prefix}
 %ifarch x86_64 ppc64
+%if 0%{?suse_version}  0%{?suse_version}  1110
 install -d %{buildroot}%{python_sitearch}
 mv %{buildroot}%{python_sitelib}/* %{buildroot}%{python_sitearch}
 %endif
+%endif
+%fdupes -s %{buildroot}
 
 %files
 %defattr(-,root,root)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org