disable %check

This commit is contained in:
桐小哥 2021-11-27 07:12:49 +00:00 committed by Gitee
parent ebbc9f6b12
commit 58cf5b1b40

View File

@ -1,7 +1,9 @@
%global _empty_manifest_terminate_build 0 %global _empty_manifest_terminate_build 0
%bcond_without test
Name: python-packaging Name: python-packaging
Version: 20.9 Version: 20.9
Release: 1 Release: 2
Summary: Core utilities for Python packages Summary: Core utilities for Python packages
License: BSD and ASL 2.0 License: BSD and ASL 2.0
URL: https://github.com/pypa/packaging URL: https://github.com/pypa/packaging
@ -23,9 +25,12 @@ BuildRequires: python3-pbr
BuildRequires: python3-pip BuildRequires: python3-pip
BuildRequires: python3-wheel BuildRequires: python3-wheel
BuildRequires: python3-pretend BuildRequires: python3-pretend
%if %{with tests}
BuildRequires: python3-pytest BuildRequires: python3-pytest
%endif
BuildRequires: python3-pyparsing BuildRequires: python3-pyparsing
Requires: python3-pyparsing Requires: python3-pyparsing
%description -n python3-packaging %description -n python3-packaging
Reusable core utilities for various Python Packaging interoperability specifications. Reusable core utilities for various Python Packaging interoperability specifications.
@ -79,7 +84,9 @@ mv %{buildroot}/filelist.lst .
mv %{buildroot}/doclist.lst . mv %{buildroot}/doclist.lst .
%check %check
%if %{with tests}
%{__python3} -m pytest tests/ %{__python3} -m pytest tests/
%endif
%files -n python3-packaging -f filelist.lst %files -n python3-packaging -f filelist.lst
%dir %{python3_sitelib}/* %dir %{python3_sitelib}/*
@ -89,6 +96,9 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/* %{_docdir}/*
%changelog %changelog
* Sat Nov 27 2021 shixuantong <shixuantong@huawei> - - 20.9-2
- disable %check
* Tue Jul 13 2021 OpenStack_SIG <openstack@openeuler.org> - 20.9-1 * Tue Jul 13 2021 OpenStack_SIG <openstack@openeuler.org> - 20.9-1
- Upgrade to version 20.9 - Upgrade to version 20.9