Use pytest-3 instead of pytest which is provided by python2-pytest

This commit is contained in:
huangtianhua 2021-11-09 10:27:09 +00:00 committed by Gitee
parent d1817bb80d
commit 4e7a12318a

View File

@ -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: 3 Release: 4
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
@ -66,7 +66,7 @@ mv %{buildroot}/filelist.lst .
mv %{buildroot}/doclist.lst . mv %{buildroot}/doclist.lst .
%check %check
pytest pytest-3
%files -n python3-cachez -f filelist.lst %files -n python3-cachez -f filelist.lst
@ -76,10 +76,14 @@ pytest
%{_docdir}/* %{_docdir}/*
%changelog %changelog
* Tue Nov 09 2021 huangtianhua <huangtianhua@huawei.com> - 0.1.2-4
- Use pytest-3 instead of pytest which is provided by python2-pytest
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 0.1.2-3 * Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 0.1.2-3
- DESC: delete -S git from %autosetup - DESC: delete -S git from %autosetup
* Wed Jul 28 2021 OpenStack_SIG <openstack@openeuler.org> - 0.1.2-2 * Wed Jul 28 2021 OpenStack_SIG <openstack@openeuler.org> - 0.1.2-2
- Fix check error - 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