diff --git a/python-Pympler.changes b/python-Pympler.changes index b69a8a4..d1fc9bc 100644 --- a/python-Pympler.changes +++ b/python-Pympler.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Oct 27 22:51:11 UTC 2022 - Matej Cepl + +- Clean up SPEC file. + ------------------------------------------------------------------- Thu Oct 27 12:15:13 UTC 2022 - Matej Cepl diff --git a/python-Pympler.spec b/python-Pympler.spec index 09fd293..c4e0570 100644 --- a/python-Pympler.spec +++ b/python-Pympler.spec @@ -35,6 +35,7 @@ BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch +Requires: python-tk %python_subpackages %description @@ -52,6 +53,9 @@ can easily be identified. # Remove bundled bottle (gh#pympler/pympler#148) rm pympler/util/bottle.py +# Remove unnecessary shebang +sed -i '1{\@^#!%{_bindir}/env python@d}' pympler/asizeof.py + %build %python_build @@ -69,6 +73,7 @@ skiptests+=" or test_findgarbage or test_prune or test_get_tree" %files %{python_files} %license LICENSE %doc README.md -%{python_sitelib}/* +%{python_sitelib}/pympler +%{python_sitelib}/Pympler-%{version}*-info %changelog