diff --git a/python-Pympler.changes b/python-Pympler.changes index b51287f..dc2d461 100644 --- a/python-Pympler.changes +++ b/python-Pympler.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Oct 10 15:35:53 UTC 2024 - Dirk Müller + +- spec modernization + ------------------------------------------------------------------- Tue Oct 1 08:36:51 UTC 2024 - John Paul Adrian Glaubitz @@ -70,7 +75,7 @@ Wed Dec 22 00:18:12 UTC 2021 - Steve Kowalik Brouwers (#121) + Fix object filtering by size in muppy -- By Kris Jurka + Fix documentation typos -- By Tim Gates -- Use pytest to run the test suite. +- Use pytest to run the test suite. ------------------------------------------------------------------- Sat Feb 27 06:35:24 UTC 2021 - John Vandenberg diff --git a/python-Pympler.spec b/python-Pympler.spec index f49ba9f..7493e59 100644 --- a/python-Pympler.spec +++ b/python-Pympler.spec @@ -1,7 +1,7 @@ # # spec file for package python-Pympler # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,8 +16,6 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define skip_python2 1 %{?sle15_python_module_pythons} Name: python-Pympler Version: 1.1 @@ -31,12 +29,14 @@ Source: https://files.pythonhosted.org/packages/source/p/pympler/pympler Patch0: pympler-flaky-tests.patch BuildRequires: %{python_module bottle} BuildRequires: %{python_module dbm} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros -BuildArch: noarch Requires: python-tk +BuildArch: noarch %python_subpackages %description @@ -58,10 +58,10 @@ rm pympler/util/bottle.py sed -i '1{\@^#!%{_bindir}/env python@d}' pympler/asizeof.py %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -75,6 +75,6 @@ skiptests+=" or test_findgarbage or test_prune or test_get_tree" %license LICENSE %doc README.md %{python_sitelib}/pympler -%{python_sitelib}/Pympler-%{version}*-info +%{python_sitelib}/Pympler-%{version}.dist-info %changelog