From be0cb38134c4d1015af4cfdb38f43996459ac311fb96d73c56585233d2e0b963 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 21 Nov 2018 08:04:37 +0000 Subject: [PATCH] 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 --- pefile-2017.11.5.tar.gz | 3 --- pefile-2018.8.8.tar.gz | 3 +++ python-pefile.changes | 12 ++++++++++++ python-pefile.spec | 22 ++++++++++------------ 4 files changed, 25 insertions(+), 15 deletions(-) delete mode 100644 pefile-2017.11.5.tar.gz create mode 100644 pefile-2018.8.8.tar.gz diff --git a/pefile-2017.11.5.tar.gz b/pefile-2017.11.5.tar.gz deleted file mode 100644 index 5081358..0000000 --- a/pefile-2017.11.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:675c35ee0e1677db9e80d2f48d8a7ff2cf38e6207e8cd5e2a2c6d126db025854 -size 61774 diff --git a/pefile-2018.8.8.tar.gz b/pefile-2018.8.8.tar.gz new file mode 100644 index 0000000..5578e80 --- /dev/null +++ b/pefile-2018.8.8.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4c5b7e2de0c8cb6c504592167acf83115cbbde01fe4a507c16a1422850e86cd6 +size 62505 diff --git a/python-pefile.changes b/python-pefile.changes index bc7f606..f5716c5 100644 --- a/python-pefile.changes +++ b/python-pefile.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Fri Nov 16 19:07:57 UTC 2018 - Todd R + +- 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 diff --git a/python-pefile.spec b/python-pefile.spec index 50654ac..8ecb97a 100644 --- a/python-pefile.spec +++ b/python-pefile.spec @@ -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