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 - [email protected] + +- 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
