forked from pool/python-distorm3
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
This commit is contained in:
committed by
Git OBS Bridge
parent
6947fcfa46
commit
81f720c827
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user