Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| ef036b9a38 |
@@ -18,18 +18,9 @@ Patch: %{url}/pull/5.patch
|
|||||||
|
|
||||||
BuildSystem: pyproject
|
BuildSystem: pyproject
|
||||||
BuildOption(install): -l flexcache
|
BuildOption(install): -l flexcache
|
||||||
# We remove flexcache.testsuite manually in %%install.
|
|
||||||
BuildOption(check): -e 'flexcache.testsuite*'
|
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
# See the test extra in pyproject.toml. We list test dependencies manually
|
|
||||||
# since we do not want pytest-cov
|
|
||||||
# (https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_linters)
|
|
||||||
# and the other pytest plugins are spurious
|
|
||||||
# (https://github.com/hgrecco/flexacache/pull/3).
|
|
||||||
BuildRequires: %{py3_dist pytest}
|
|
||||||
|
|
||||||
%global common_description %{expand:
|
%global common_description %{expand:
|
||||||
A robust and extensible package to cache on disk the result of expensive
|
A robust and extensible package to cache on disk the result of expensive
|
||||||
calculations.}
|
calculations.}
|
||||||
@@ -55,10 +46,6 @@ rm -rvf '%{buildroot}%{python3_sitelib}/flexcache/testsuite'
|
|||||||
sed -r -i '/\/flexcache\/testsuite/d' %{pyproject_files}
|
sed -r -i '/\/flexcache\/testsuite/d' %{pyproject_files}
|
||||||
|
|
||||||
|
|
||||||
%check -a
|
|
||||||
%pytest
|
|
||||||
|
|
||||||
|
|
||||||
%files -n python3-flexcache -f %{pyproject_files}
|
%files -n python3-flexcache -f %{pyproject_files}
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%doc CHANGES
|
%doc CHANGES
|
||||||
|
|||||||
Reference in New Issue
Block a user