Accepting request 649804 from home:TheBlackCat:branches:devel:languages:python

- Update to version 2018.8.8
  * Fixed tests
  * Fixed bug accessing warnings attribute from the PE object
  * Fix is_driver()'s behavior under Python 3.
  * Fix a bug attempting to handle an invalid string 
  * Modified version information to handle multiple version
    information that may exist within a single file.
  * Prevent division by zero when pe.trim() returns no data

OBS-URL: https://build.opensuse.org/request/show/649804
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pefile?expand=0&rev=8
This commit is contained in:
Tomáš Chvátal 2018-11-21 08:04:37 +00:00 committed by Git OBS Bridge
parent 2fb1f01413
commit be0cb38134
4 changed files with 25 additions and 15 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:675c35ee0e1677db9e80d2f48d8a7ff2cf38e6207e8cd5e2a2c6d126db025854
size 61774

3
pefile-2018.8.8.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4c5b7e2de0c8cb6c504592167acf83115cbbde01fe4a507c16a1422850e86cd6
size 62505

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Fri Nov 16 19:07:57 UTC 2018 - Todd R <toddrme2178@gmail.com>
- Update to version 2018.8.8
* Fixed tests
* Fixed bug accessing warnings attribute from the PE object
* Fix is_driver()'s behavior under Python 3.
* Fix a bug attempting to handle an invalid string
* Modified version information to handle multiple version
information that may exist within a single file.
* Prevent division by zero when pe.trim() returns no data
-------------------------------------------------------------------
Thu Oct 19 00:59:49 UTC 2017 - toddrme2178@gmail.com

View File

@ -1,7 +1,7 @@
#
# spec file for package python-pefile
#
# Copyright (c) 2017 SUSE LINUX 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
@ -17,9 +17,8 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_with test
Name: python-pefile
Version: 2017.11.5
Version: 2018.8.8
Release: 0
Summary: A python module to work with PE (pertable executable) files
License: BSD-3-Clause
@ -30,10 +29,10 @@ BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
%if %{with test}
BuildRequires: %{python_module future}
%endif
Requires: python-future
# SECTION test requirements
BuildRequires: %{python_module future}
# /SECTION
BuildArch: noarch
%python_subpackages
@ -63,14 +62,13 @@ sed -i -e '/^#!\//, 1d' pefile.py
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%if %{with test}
%check
%python_exec setup.py test
%endif
# Tests not in sdist
# %%check
# %%python_exec setup.py test
%files %{python_files}
%defattr(-,root,root,-)
%doc LICENSE README
%doc README
%license LICENSE
%{python_sitelib}/*
%changelog