Add BuildRequire for python3-pytest
This commit is contained in:
parent
663deb0a2d
commit
efb8c59643
@ -1,7 +1,7 @@
|
||||
%global _empty_manifest_terminate_build 0
|
||||
Name: python-cachez
|
||||
Version: 0.1.2
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: Cache decorator for global or instance level memoize.
|
||||
License: Apache-2.0
|
||||
URL: http://github.com/jealous/cachez
|
||||
@ -19,6 +19,8 @@ BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-pbr
|
||||
BuildRequires: python3-pip
|
||||
BuildRequires: python3-wheel
|
||||
BuildRequires: python3-pytest
|
||||
BuildRequires: python3-hamcrest
|
||||
%description -n python3-cachez
|
||||
Cache decorator for global or instance level memoize.
|
||||
|
||||
@ -64,7 +66,7 @@ mv %{buildroot}/filelist.lst .
|
||||
mv %{buildroot}/doclist.lst .
|
||||
|
||||
%check
|
||||
py.test-3 cachez_test.py
|
||||
pytest
|
||||
|
||||
%files -n python3-cachez -f filelist.lst
|
||||
|
||||
@ -74,5 +76,7 @@ py.test-3 cachez_test.py
|
||||
%{_docdir}/*
|
||||
|
||||
%changelog
|
||||
* Wed Jul 28 2021 OpenStack_SIG <openstack@openeuler.org> - 0.1.2-2
|
||||
- Fix check error
|
||||
* Mon Jul 26 2021 OpenStack_SIG <openstack@openeuler.org> - 0.1.2-1
|
||||
- Package Spec generate
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user