- Update to 2.7
- spec cleanup
This commit is contained in:
parent
44de1577f3
commit
5a51c1631f
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,3 +2,4 @@
|
||||
/Jinja2-2.5.2.tar.gz
|
||||
/Jinja2-2.5.5.tar.gz
|
||||
/Jinja2-2.6.tar.gz
|
||||
/Jinja2-2.7.tar.gz
|
||||
|
@ -9,14 +9,13 @@
|
||||
%global with_docs 1
|
||||
|
||||
Name: python-jinja2
|
||||
Version: 2.6
|
||||
Release: 6%{?dist}
|
||||
Version: 2.7
|
||||
Release: 1%{?dist}
|
||||
Summary: General purpose template engine
|
||||
Group: Development/Languages
|
||||
License: BSD
|
||||
URL: http://jinja.pocoo.org/
|
||||
Source0: http://pypi.python.org/packages/source/J/Jinja2/Jinja2-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildArch: noarch
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-setuptools
|
||||
@ -98,7 +97,6 @@ popd
|
||||
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
%{__python} setup.py install -O1 --skip-build \
|
||||
--root %{buildroot}
|
||||
|
||||
@ -113,10 +111,6 @@ popd
|
||||
%endif # with_python3
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
@ -129,7 +123,6 @@ popd
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS CHANGES LICENSE
|
||||
%if 0%{?with_docs}
|
||||
%doc docs/_build/html
|
||||
@ -142,7 +135,6 @@ popd
|
||||
|
||||
%if 0%{?with_python3}
|
||||
%files -n python3-jinja2
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS CHANGES LICENSE
|
||||
%if 0%{?with_docs}
|
||||
%doc docs/_build/html
|
||||
@ -155,6 +147,10 @@ popd
|
||||
|
||||
|
||||
%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
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user