forked from pool/python-distorm3
Accepting request 129055 from home:k0da:ppc
- don't stutter static on BigEndian OBS-URL: https://build.opensuse.org/request/show/129055 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-distorm3?expand=0&rev=5
This commit is contained in:
committed by
Git OBS Bridge
parent
e778254c0e
commit
fb443e4863
@@ -23,6 +23,7 @@ Summary: Powerful Disassembler Library For x86/AMD64
|
||||
Url: http://code.google.com/p/distorm/
|
||||
Group: Development/Libraries/Python
|
||||
Source: distorm3-1.0.zip
|
||||
Patch0: 0001-don-t-stutter-static-on-BigEndian.patch
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: python-devel > 2.5
|
||||
BuildRequires: unzip
|
||||
@@ -37,13 +38,14 @@ No more parsing strings! - diStorm3 is really a decomposer, which means it takes
|
||||
|
||||
%prep
|
||||
%setup -q -n distorm3-1.0
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
CFLAGS="%{optflags}" python setup.py build
|
||||
|
||||
%install
|
||||
python setup.py install --root=%{buildroot} --prefix=%{_prefix}
|
||||
%ifarch x86_64
|
||||
%ifarch x86_64 ppc64
|
||||
install -d %{buildroot}%{python_sitearch}
|
||||
mv %{buildroot}%{python_sitelib}/* %{buildroot}%{python_sitearch}
|
||||
%endif
|
||||
|
||||
Reference in New Issue
Block a user