disable %check
This commit is contained in:
parent
bc470e29a7
commit
9444e1d349
@ -1,6 +1,8 @@
|
|||||||
|
%bcond_with test
|
||||||
|
|
||||||
Name: python-mako
|
Name: python-mako
|
||||||
Version: 1.1.4
|
Version: 1.1.4
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: Mako template library for Python
|
Summary: Mako template library for Python
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
@ -8,8 +10,11 @@ URL: http://www.makotemplates.org/
|
|||||||
Source0: https://files.pythonhosted.org/packages/source/M/Mako/Mako-%{version}.tar.gz
|
Source0: https://files.pythonhosted.org/packages/source/M/Mako/Mako-%{version}.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
BuildRequires: python3-devel python3-pytest python3-setuptools
|
BuildRequires: python3-devel python3-setuptools
|
||||||
BuildRequires: python3-markupsafe python3-mock python3-nose
|
BuildRequires: python3-markupsafe python3-mock python3-nose
|
||||||
|
%if %{with test}
|
||||||
|
BuildRequires: python3-pytest
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Python-mako is a template library for Python. It provides a familiar, non-XML
|
Python-mako is a template library for Python. It provides a familiar, non-XML
|
||||||
@ -46,7 +51,9 @@ mv %{buildroot}/%{_bindir}/mako-render %{buildroot}/%{_bindir}/python3-mako-rend
|
|||||||
rm -rf doc/build
|
rm -rf doc/build
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
%if %{with test}
|
||||||
%{__python3} -m pytest -v
|
%{__python3} -m pytest -v
|
||||||
|
%endif
|
||||||
|
|
||||||
%files -n python3-mako
|
%files -n python3-mako
|
||||||
%license LICENSE AUTHORS
|
%license LICENSE AUTHORS
|
||||||
@ -58,6 +65,9 @@ rm -rf doc/build
|
|||||||
%doc doc
|
%doc doc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Nov 27 2021 shixuantong <shixuantong@huawei.com> - 1.1.4-2
|
||||||
|
- disable %check
|
||||||
|
|
||||||
* Thu Jul 15 2021 huangtianhua <huangtianhua@huawei.com> 1.1.4-1
|
* Thu Jul 15 2021 huangtianhua <huangtianhua@huawei.com> 1.1.4-1
|
||||||
- Upgrade to 1.1.4 to support OpenStack-W
|
- Upgrade to 1.1.4 to support OpenStack-W
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user