update version to 1.2.4
This commit is contained in:
parent
d1542a922c
commit
a431d3a13c
Binary file not shown.
BIN
Mako-1.2.4.tar.gz
Normal file
BIN
Mako-1.2.4.tar.gz
Normal file
Binary file not shown.
@ -1,18 +1,18 @@
|
|||||||
|
%global _empty_manifest_terminate_build 0
|
||||||
%bcond_with test
|
%bcond_with test
|
||||||
|
|
||||||
Name: python-mako
|
Name: python-mako
|
||||||
Version: 1.2.2
|
Version: 1.2.4
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: Mako template library for Python
|
Summary: Mako template library for Python
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
URL: http://www.makotemplates.org/
|
URL: http://www.makotemplates.org/
|
||||||
Source0: https://files.pythonhosted.org/packages/source/M/Mako/Mako-%{version}.tar.gz
|
Source0: https://files.pythonhosted.org/packages/05/5f/2ba6e026d33a0e6ddc1dddf9958677f76f5f80c236bd65309d280b166d3e/Mako-1.2.4.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
BuildRequires: python3-devel python3-setuptools
|
Requires: python3-markupsafe
|
||||||
BuildRequires: python3-markupsafe python3-mock
|
Requires: python3-mako = %{version}-%{release}
|
||||||
BuildRequires: python3-pytest
|
|
||||||
|
|
||||||
%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
|
||||||
@ -21,18 +21,18 @@ and API borrows from the best ideas of many others, including Django templates,
|
|||||||
Cheetah, Myghty, and Genshi.
|
Cheetah, Myghty, and Genshi.
|
||||||
|
|
||||||
%package -n python3-mako
|
%package -n python3-mako
|
||||||
Summary: Mako library for Python 3
|
Summary: Mako library for Python 3
|
||||||
Requires: python3-markupsafe
|
Provides: python-mako = %{version}-%{release}
|
||||||
Recommends: python3-beaker
|
BuildRequires: python3-devel python3-setuptools
|
||||||
|
BuildRequires: python3-markupsafe python3-mock
|
||||||
|
BuildRequires: python3-pytest
|
||||||
|
|
||||||
%{?python_provide:%python_provide python3-mako}
|
%description -n python3-mako
|
||||||
|
|
||||||
%description -n python3-mako
|
|
||||||
Mako library for Python 3.
|
Mako library for Python 3.
|
||||||
|
|
||||||
%package help
|
%package help
|
||||||
Summary: Help file of Mako library for Python
|
Summary: Help file of Mako library for Python
|
||||||
Requires: python3-mako = %{version}-%{release}
|
Provides: python3-mako-doc
|
||||||
|
|
||||||
%description help
|
%description help
|
||||||
Help file of Mako library for Python in text and HTML formats.
|
Help file of Mako library for Python in text and HTML formats.
|
||||||
@ -45,22 +45,45 @@ Help file of Mako library for Python in text and HTML formats.
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%py3_install
|
%py3_install
|
||||||
mv %{buildroot}/%{_bindir}/mako-render %{buildroot}/%{_bindir}/python3-mako-render
|
install -d -m755 %{buildroot}/%{_pkgdocdir}
|
||||||
rm -rf doc/build
|
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
|
||||||
|
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
|
||||||
|
if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
|
||||||
|
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
|
||||||
|
pushd %{buildroot}
|
||||||
|
if [ -d usr/lib ]; then
|
||||||
|
find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
|
||||||
|
fi
|
||||||
|
if [ -d usr/lib64 ]; then
|
||||||
|
find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
|
||||||
|
fi
|
||||||
|
if [ -d usr/bin ]; then
|
||||||
|
find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
|
||||||
|
fi
|
||||||
|
if [ -d usr/sbin ]; then
|
||||||
|
find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
|
||||||
|
fi
|
||||||
|
touch doclist.lst
|
||||||
|
if [ -d usr/share/man ]; then
|
||||||
|
find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
|
||||||
|
fi
|
||||||
|
popd
|
||||||
|
mv %{buildroot}/filelist.lst .
|
||||||
|
mv %{buildroot}/doclist.lst .
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%{__python3} -m pytest -v
|
%{__python3} -m pytest -v
|
||||||
|
|
||||||
%files -n python3-mako
|
%files -n python3-mako -f filelist.lst
|
||||||
%license LICENSE AUTHORS
|
%dir %{python3_sitelib}/*
|
||||||
%doc CHANGES README.* examples
|
|
||||||
%{_bindir}/python3-mako-render
|
|
||||||
%{python3_sitelib}/*
|
|
||||||
|
|
||||||
%files help
|
%files help -f doclist.lst
|
||||||
%doc doc
|
%{_docdir}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Nov 18 2022 wangjunqi <wangjunqi@kylinos.cn> - 1.2.4-1
|
||||||
|
- Update package to version 1.2.4
|
||||||
|
|
||||||
* Wed Sep 21 2022 dillon chen <dilon.chen@gmal.com> 1.2.2-1
|
* Wed Sep 21 2022 dillon chen <dilon.chen@gmal.com> 1.2.2-1
|
||||||
- update to 1.2.2
|
- update to 1.2.2
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user