Compare commits
4 Commits
Author | SHA256 | Date | |
---|---|---|---|
b2a74c0710 | |||
773ab27889 | |||
cfa3353437 | |||
65a1ffe929 |
@@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 3 10:08:42 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- require setuptools
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Oct 7 21:14:38 UTC 2023 - Matej Cepl <mcepl@cepl.eu>
|
||||||
|
|
||||||
|
- Clean up the SPEC file
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Jun 10 09:48:44 UTC 2023 - ecsos <ecsos@opensuse.org>
|
Sat Jun 10 09:48:44 UTC 2023 - ecsos <ecsos@opensuse.org>
|
||||||
|
|
||||||
@@ -49,7 +59,7 @@ Fri Nov 16 19:07:57 UTC 2018 - Todd R <toddrme2178@gmail.com>
|
|||||||
* Fixed tests
|
* Fixed tests
|
||||||
* Fixed bug accessing warnings attribute from the PE object
|
* Fixed bug accessing warnings attribute from the PE object
|
||||||
* Fix is_driver()'s behavior under Python 3.
|
* Fix is_driver()'s behavior under Python 3.
|
||||||
* Fix a bug attempting to handle an invalid string
|
* Fix a bug attempting to handle an invalid string
|
||||||
* Modified version information to handle multiple version
|
* Modified version information to handle multiple version
|
||||||
information that may exist within a single file.
|
information that may exist within a single file.
|
||||||
* Prevent division by zero when pe.trim() returns no data
|
* Prevent division by zero when pe.trim() returns no data
|
||||||
@@ -66,9 +76,9 @@ Thu Oct 19 00:59:49 UTC 2017 - toddrme2178@gmail.com
|
|||||||
Thu May 14 21:30:03 UTC 2015 - Greg.Freemyer@gmail.com
|
Thu May 14 21:30:03 UTC 2015 - Greg.Freemyer@gmail.com
|
||||||
|
|
||||||
- upgrade to v1.2.10-139
|
- upgrade to v1.2.10-139
|
||||||
* Merged path from ThreatGrid's Wesley Brown. Thanks!
|
* Merged path from ThreatGrid's Wesley Brown. Thanks!
|
||||||
Summary: changed memory mapping usage,
|
Summary: changed memory mapping usage,
|
||||||
revamped to use bytearrays rather than list,
|
revamped to use bytearrays rather than list,
|
||||||
complete rewrite of the checksum generation algorithm to be much more memory efficient,
|
complete rewrite of the checksum generation algorithm to be much more memory efficient,
|
||||||
less susceptible to PE bomb attacks
|
less susceptible to PE bomb attacks
|
||||||
* Corrected some doctrings
|
* Corrected some doctrings
|
||||||
@@ -77,9 +87,9 @@ Thu May 14 21:30:03 UTC 2015 - Greg.Freemyer@gmail.com
|
|||||||
* Added Mandiant's ordlookup to resolve the names for some symbols
|
* Added Mandiant's ordlookup to resolve the names for some symbols
|
||||||
* Better handling of the Rich Header
|
* Better handling of the Rich Header
|
||||||
- updated license to BSD-3-Clause
|
- updated license to BSD-3-Clause
|
||||||
- moved UserDB.txt to /usr/share/python-pefile
|
- moved UserDB.txt to /usr/share/python-pefile
|
||||||
* This is a PE file signature database.
|
* This is a PE file signature database.
|
||||||
* It is available to callers of python-pefile,
|
* It is available to callers of python-pefile,
|
||||||
but the caller must explicitely point the USERDB variable at it.
|
but the caller must explicitely point the USERDB variable at it.
|
||||||
- Add force-version.patch because upstream depends on SCR checkout mechanism
|
- Add force-version.patch because upstream depends on SCR checkout mechanism
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pefile
|
# spec file for package python-pefile
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2024 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -25,11 +25,12 @@ License: BSD-3-Clause
|
|||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: https://github.com/erocarrera/pefile
|
URL: https://github.com/erocarrera/pefile
|
||||||
Source: https://files.pythonhosted.org/packages/source/p/pefile/pefile-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/p/pefile/pefile-%{version}.tar.gz
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -47,14 +48,14 @@ standard use. To the best of my knowledge most of the abuse is handled
|
|||||||
gracefully.
|
gracefully.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n pefile-%{version}
|
%autosetup -p1 -n pefile-%{version}
|
||||||
sed -i -e '/^#!\//, 1d' pefile.py
|
sed -i -e '/^#!\//, 1d' pefile.py
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
# Tests not in sdist and have good reason to at time of writing:
|
# Tests not in sdist and have good reason to at time of writing:
|
||||||
@@ -66,6 +67,10 @@ sed -i -e '/^#!\//, 1d' pefile.py
|
|||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README
|
%doc README
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python_sitelib}/*
|
%pycache_only %{python_sitelib}/__pycache__/pe*.pyc
|
||||||
|
%{python_sitelib}/ordlookup
|
||||||
|
%{python_sitelib}/pefile.py
|
||||||
|
%{python_sitelib}/peutils.py
|
||||||
|
%{python_sitelib}/pefile-%{version}*-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user