- Update to 2.7

- spec cleanup
This commit is contained in:
Orion Poplawski 2013-07-25 15:16:36 -06:00
parent 44de1577f3
commit 5a51c1631f
3 changed files with 8 additions and 11 deletions

1
.gitignore vendored
View File

@ -2,3 +2,4 @@
/Jinja2-2.5.2.tar.gz /Jinja2-2.5.2.tar.gz
/Jinja2-2.5.5.tar.gz /Jinja2-2.5.5.tar.gz
/Jinja2-2.6.tar.gz /Jinja2-2.6.tar.gz
/Jinja2-2.7.tar.gz

View File

@ -9,14 +9,13 @@
%global with_docs 1 %global with_docs 1
Name: python-jinja2 Name: python-jinja2
Version: 2.6 Version: 2.7
Release: 6%{?dist} Release: 1%{?dist}
Summary: General purpose template engine Summary: General purpose template engine
Group: Development/Languages Group: Development/Languages
License: BSD License: BSD
URL: http://jinja.pocoo.org/ URL: http://jinja.pocoo.org/
Source0: http://pypi.python.org/packages/source/J/Jinja2/Jinja2-%{version}.tar.gz Source0: http://pypi.python.org/packages/source/J/Jinja2/Jinja2-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch BuildArch: noarch
BuildRequires: python-devel BuildRequires: python-devel
BuildRequires: python-setuptools BuildRequires: python-setuptools
@ -98,7 +97,6 @@ popd
%install %install
rm -rf %{buildroot}
%{__python} setup.py install -O1 --skip-build \ %{__python} setup.py install -O1 --skip-build \
--root %{buildroot} --root %{buildroot}
@ -113,10 +111,6 @@ popd
%endif # with_python3 %endif # with_python3
%clean
rm -rf %{buildroot}
%check %check
make test make test
@ -129,7 +123,6 @@ popd
%files %files
%defattr(-,root,root,-)
%doc AUTHORS CHANGES LICENSE %doc AUTHORS CHANGES LICENSE
%if 0%{?with_docs} %if 0%{?with_docs}
%doc docs/_build/html %doc docs/_build/html
@ -142,7 +135,6 @@ popd
%if 0%{?with_python3} %if 0%{?with_python3}
%files -n python3-jinja2 %files -n python3-jinja2
%defattr(-,root,root,-)
%doc AUTHORS CHANGES LICENSE %doc AUTHORS CHANGES LICENSE
%if 0%{?with_docs} %if 0%{?with_docs}
%doc docs/_build/html %doc docs/_build/html
@ -155,6 +147,10 @@ popd
%changelog %changelog
* Thu Jul 25 2013 Orion Poplawski <orion@cora.nwra.com> - 2.7-1
- Update to 2.7
- spec cleanup
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6-6 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild

View File

@ -1 +1 @@
1c49a8825c993bfdcf55bb36897d28a2 Jinja2-2.6.tar.gz c2fb12cbbb523c57d3d15bfe4dc0e8fe Jinja2-2.7.tar.gz