diff --git a/python-pyrsistent.changes b/python-pyrsistent.changes index 78d1c10..17d2ac9 100644 --- a/python-pyrsistent.changes +++ b/python-pyrsistent.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Feb 15 21:26:17 UTC 2021 - Ben Greiner + +- Remove remnant requirements of six and numpy: These are neither + used anywhere in the package code, nor in the tests. + ------------------------------------------------------------------- Mon Sep 28 11:11:31 UTC 2020 - Dirk Mueller diff --git a/python-pyrsistent.spec b/python-pyrsistent.spec index 8f3f81b..5129047 100644 --- a/python-pyrsistent.spec +++ b/python-pyrsistent.spec @@ -1,7 +1,7 @@ # # spec file for package python-pyrsistent # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -28,13 +28,10 @@ URL: http://github.com/tobgu/pyrsistent/ Source: https://files.pythonhosted.org/packages/source/p/pyrsistent/pyrsistent-%{version}.tar.gz BuildRequires: %{python_module devel} BuildRequires: %{python_module hypothesis} -BuildRequires: %{python_module numpy} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module six} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-six %python_subpackages %description @@ -59,12 +56,15 @@ export CFLAGS="%{optflags}" %python_expand %fdupes %{buildroot}%{$python_sitearch} %check -export PYTHONDONTWRITEBYTECODE=1 -%pytest_arch +%pytest_arch -ra %files %{python_files} %license LICENCE.mit -%doc CHANGES.txt README README.rst -%{python_sitearch}/* +%doc CHANGES.txt README.rst +%pycache_only %{python_sitearch}/__pycache__/_pyrsistent* +%{python_sitearch}/_pyrsistent* +%{python_sitearch}/pvectorc* +%{python_sitearch}/pyrsistent +%{python_sitearch}/pyrsistent-%{version}*-info %changelog