From fdca55c5c408dda3a0ae28780768dfd848bd9119c3d525ccc81f5c94df1e6eed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Sat, 11 Aug 2018 06:34:45 +0000 Subject: [PATCH] - Drop the test conditional - Use %license macro OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyrsistent?expand=0&rev=4 --- python-pyrsistent.changes | 6 ++++++ python-pyrsistent.spec | 8 ++------ 2 files changed, 8 insertions(+), 6 deletions(-) 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