- Drop the test conditional
- Use %license macro OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyrsistent?expand=0&rev=4
This commit is contained in:
parent
6fc74f1470
commit
fdca55c5c4
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user