15
0
2022-10-27 22:51:18 +00:00
committed by Git OBS Bridge
parent 20023b376c
commit f8d93fd219
2 changed files with 11 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Oct 27 22:51:11 UTC 2022 - Matej Cepl <mcepl@suse.com>
- Clean up SPEC file.
-------------------------------------------------------------------
Thu Oct 27 12:15:13 UTC 2022 - Matej Cepl <mcepl@suse.com>

View File

@@ -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