!20 enable %check
From: @xinyingchao Reviewed-by: @xiezhipeng1 Signed-off-by: @xiezhipeng1
This commit is contained in:
commit
36b0e59b75
@ -2,7 +2,7 @@
|
||||
|
||||
Name: python-mako
|
||||
Version: 1.1.4
|
||||
Release: 2
|
||||
Release: 3
|
||||
Summary: Mako template library for Python
|
||||
License: MIT
|
||||
Group: Development/Languages
|
||||
@ -12,9 +12,7 @@ BuildArch: noarch
|
||||
|
||||
BuildRequires: python3-devel python3-setuptools
|
||||
BuildRequires: python3-markupsafe python3-mock python3-nose
|
||||
%if %{with test}
|
||||
BuildRequires: python3-pytest
|
||||
%endif
|
||||
|
||||
%description
|
||||
Python-mako is a template library for Python. It provides a familiar, non-XML
|
||||
@ -51,9 +49,7 @@ mv %{buildroot}/%{_bindir}/mako-render %{buildroot}/%{_bindir}/python3-mako-rend
|
||||
rm -rf doc/build
|
||||
|
||||
%check
|
||||
%if %{with test}
|
||||
%{__python3} -m pytest -v
|
||||
%endif
|
||||
|
||||
%files -n python3-mako
|
||||
%license LICENSE AUTHORS
|
||||
@ -65,6 +61,9 @@ rm -rf doc/build
|
||||
%doc doc
|
||||
|
||||
%changelog
|
||||
* Wed Feb 23 2022 yuanxin <yuanxin24@h-partners.com> - 1.1.4-3
|
||||
- enable %check
|
||||
|
||||
* Sat Nov 27 2021 shixuantong <shixuantong@huawei.com> - 1.1.4-2
|
||||
- disable %check
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user