!14 fix failure to build locally using rpmbuild
From: @tong_1001 Reviewed-by: @overweight Signed-off-by: @overweight
This commit is contained in:
commit
e19885b68d
@ -1,6 +1,6 @@
|
||||
Name: python-mako
|
||||
Version: 1.1.3
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: Mako template library for Python
|
||||
License: (MIT and Python) and (BSD or GPLv2)
|
||||
Group: Development/Languages
|
||||
@ -38,10 +38,10 @@ Help file of Mako library for Python in text and HTML formats.
|
||||
%autosetup -n zzzeek-mako-1f87991a8c42 -p1
|
||||
|
||||
%build
|
||||
%{?with_python3:%py3_build}
|
||||
%py3_build
|
||||
|
||||
%install
|
||||
%{?with_python3:%py3_install}
|
||||
%py3_install
|
||||
mv %{buildroot}/%{_bindir}/mako-render %{buildroot}/%{_bindir}/python3-mako-render
|
||||
rm -rf doc/build
|
||||
|
||||
@ -58,6 +58,9 @@ rm -rf doc/build
|
||||
%doc doc
|
||||
|
||||
%changelog
|
||||
* Sat Mar 13 2021 shixuantong <shixuantong@huawei.com> - 1.1.3-2
|
||||
- fix failure to build locally using rpmbuild
|
||||
|
||||
* Tue Feb 2 2021 wangjie<wangjie294@huawei.com> - 1.1.3-1
|
||||
- upgrade version to 1.1.3
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user