- Simplified macro usage
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Jinja2?expand=0&rev=11
This commit is contained in:
parent
0f31fa7ff8
commit
0cda00d934
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 23 13:44:50 UTC 2012 - saschpe@suse.de
|
||||
|
||||
- Simplified macro usage
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 22 12:00:51 UTC 2011 - saschpe@suse.de
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-Jinja2
|
||||
#
|
||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -16,30 +16,25 @@
|
||||
#
|
||||
|
||||
|
||||
|
||||
Name: python-Jinja2
|
||||
Version: 2.6
|
||||
Release: 0
|
||||
Url: http://jinja.pocoo.org/
|
||||
Summary: A fast and easy to use template engine written in pure Python
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
Url: http://jinja.pocoo.org/
|
||||
Source: http://pypi.python.org/packages/source/J/Jinja2/Jinja2-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-distribute
|
||||
%if 0%{?suse_version}
|
||||
%py_requires
|
||||
%if 0%{?suse_version} > 1010
|
||||
BuildRequires: fdupes
|
||||
%endif
|
||||
%if 0%{?suse_version} > 1110
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
%endif
|
||||
Provides: python-jinja2 = %{version}
|
||||
Obsoletes: python-jinja2 < %{version}
|
||||
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
||||
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
%else
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
|
||||
%description
|
||||
Jinja2 is a template engine written in pure Python. It provides a Django
|
||||
@ -58,6 +53,7 @@ sandboxed environment. Here a small example of a Jinja template:
|
||||
|
||||
%package vim
|
||||
Summary: Jinja2 syntax files for Vim
|
||||
License: BSD-3-Clause
|
||||
Group: Productivity/Text/Editors
|
||||
Requires: %{name} = %{version}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user