forked from pool/python-Pympler
- Clean up SPEC file.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pympler?expand=0&rev=18
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user