diff --git a/python-pyrsistent.changes b/python-pyrsistent.changes index b271e18..c16e943 100644 --- a/python-pyrsistent.changes +++ b/python-pyrsistent.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Aug 11 06:34:31 UTC 2018 - tchvatal@suse.com + +- Drop the test conditional +- Use %license macro + ------------------------------------------------------------------- Fri Aug 10 23:33:25 UTC 2018 - jsikes@suse.de diff --git a/python-pyrsistent.spec b/python-pyrsistent.spec index 57a4e15..3183bb4 100644 --- a/python-pyrsistent.spec +++ b/python-pyrsistent.spec @@ -17,7 +17,6 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%bcond_without test Name: python-pyrsistent Version: 0.14.4 Release: 0 @@ -31,11 +30,9 @@ BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-six -%if %{with test} BuildRequires: %{python_module hypothesis} BuildRequires: %{python_module pytest} BuildRequires: %{python_module six} -%endif %python_subpackages %description @@ -59,15 +56,14 @@ export CFLAGS="%{optflags}" %python_install %python_expand %fdupes %{buildroot}%{$python_sitearch} -%if %{with test} %check %{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch} py.test-%{$python_bin_suffix} } -%endif %files %{python_files} -%doc CHANGES.txt LICENCE.mit README README.rst +%license LICENSE.mit +%doc CHANGES.txt README README.rst %{python_sitearch}/* %changelog