[packages/python-Mako] - updated to 0.7.2
qboosh
qboosh at pld-linux.org
Sat Oct 13 12:33:14 CEST 2012
commit 4412903e860dedeca615a3d86a42584e750bbb70
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Oct 13 12:33:21 2012 +0200
- updated to 0.7.2
python-Mako.spec | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/python-Mako.spec b/python-Mako.spec
index 5fc5b0a..8258b1f 100644
--- a/python-Mako.spec
+++ b/python-Mako.spec
@@ -1,19 +1,19 @@
# TODO:
# - examples subpackage
#
-%bcond_without python2
-%bcond_without python3
+%bcond_without python2 # Python 2.x module
+%bcond_without python3 # Python 3.x module
#
%define fname Mako
Summary: Templating system for Python
Summary(pl.UTF-8): System szablonów dla języka Python
Name: python-%{fname}
-Version: 0.4.1
+Version: 0.7.2
Release: 1
License: MIT
Group: Libraries/Python
Source0: http://cheeseshop.python.org/packages/source/M/Mako/%{fname}-%{version}.tar.gz
-# Source0-md5: c69bceb23c832b74075f438408fea118
+# Source0-md5: e3c0a677aa4216da9e89ef8fa76cbafb
URL: http://www.makotemplates.org/
%if %{with python2}
BuildRequires: python >= 1:2.4
@@ -93,11 +93,11 @@ mv $RPM_BUILD_ROOT%{_bindir}/mako-render{,-2}
--root=$RPM_BUILD_ROOT
mv $RPM_BUILD_ROOT%{_bindir}/mako-render{,-3}
-
-%py3_postclean
%endif
-ln -s mako-render-2 $RPM_BUILD_ROOT%{_bindir}/mako-render
+%if %{with python2}
+ln -sf mako-render-2 $RPM_BUILD_ROOT%{_bindir}/mako-render
+%endif
%clean
rm -rf $RPM_BUILD_ROOT
@@ -105,7 +105,7 @@ rm -rf $RPM_BUILD_ROOT
%if %{with python2}
%files
%defattr(644,root,root,755)
-%doc CHANGES PKG-INFO README
+%doc CHANGES LICENSE README.rst
%attr(755,root,root) %{_bindir}/mako-render
%attr(755,root,root) %{_bindir}/mako-render-2
%{py_sitescriptdir}/mako
@@ -116,7 +116,7 @@ rm -rf $RPM_BUILD_ROOT
%if %{with python3}
%files -n python3-%{fname}
%defattr(644,root,root,755)
-%doc CHANGES PKG-INFO README
+%doc CHANGES LICENSE README.rst
%attr(755,root,root) %{_bindir}/mako-render-3
%{py3_sitescriptdir}/mako
%{py3_sitescriptdir}/%{fname}-%{version}-py*.egg-info
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-Mako.git/commitdiff/4412903e860dedeca615a3d86a42584e750bbb70
More information about the pld-cvs-commit
mailing list