!8 disable %check
From: @tong_1001 Reviewed-by: @orange-snn Signed-off-by: @orange-snn
This commit is contained in:
commit
c27a3b1246
@ -1,7 +1,9 @@
|
||||
%global _empty_manifest_terminate_build 0
|
||||
%bcond_without test
|
||||
|
||||
Name: python-packaging
|
||||
Version: 20.9
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: Core utilities for Python packages
|
||||
License: BSD and ASL 2.0
|
||||
URL: https://github.com/pypa/packaging
|
||||
@ -23,9 +25,12 @@ BuildRequires: python3-pbr
|
||||
BuildRequires: python3-pip
|
||||
BuildRequires: python3-wheel
|
||||
BuildRequires: python3-pretend
|
||||
%if %{with tests}
|
||||
BuildRequires: python3-pytest
|
||||
%endif
|
||||
BuildRequires: python3-pyparsing
|
||||
Requires: python3-pyparsing
|
||||
|
||||
%description -n python3-packaging
|
||||
Reusable core utilities for various Python Packaging interoperability specifications.
|
||||
|
||||
@ -79,7 +84,9 @@ mv %{buildroot}/filelist.lst .
|
||||
mv %{buildroot}/doclist.lst .
|
||||
|
||||
%check
|
||||
%if %{with tests}
|
||||
%{__python3} -m pytest tests/
|
||||
%endif
|
||||
|
||||
%files -n python3-packaging -f filelist.lst
|
||||
%dir %{python3_sitelib}/*
|
||||
@ -89,6 +96,9 @@ mv %{buildroot}/doclist.lst .
|
||||
%{_docdir}/*
|
||||
|
||||
%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
|
||||
- Upgrade to version 20.9
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user