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