15
0

Accepting request 625403 from home:jengelh:branches:devel:languages:python

- Remove rhetorics from descriptions.
- Avoid bashisms in %install.

OBS-URL: https://build.opensuse.org/request/show/625403
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-distorm3?expand=0&rev=24
This commit is contained in:
Tomáš Chvátal
2018-07-26 13:08:41 +00:00
committed by Git OBS Bridge
parent 6494ffff19
commit 015b8c8c84
2 changed files with 11 additions and 5 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Jul 26 10:38:47 UTC 2018 - jengelh@inai.de
- Remove rhetorics from descriptions.
- Avoid bashisms in %install.
-------------------------------------------------------------------
Mon Jul 23 10:25:20 UTC 2018 - tchvatal@suse.com

View File

@@ -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 @@ BuildRequires: unzip
%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 @@ export CFLAGS="%{optflags}"
%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