[python-jinja2] - Update to 2.7 - spec cleanup

Orion Poplawski orion at fedoraproject.org
Thu Jul 25 21:16:43 UTC 2013


commit 5a51c1631fdb97471e811c9f32cc2faff5fec1d3
Author: Orion Poplawski <orion at nwra.com>
Date:   Thu Jul 25 15:16:36 2013 -0600

    - Update to 2.7
    - spec cleanup

 .gitignore         |    1 +
 python-jinja2.spec |   16 ++++++----------
 sources            |    2 +-
 3 files changed, 8 insertions(+), 11 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 1501beb..fc3d166 100644
--- a/.gitignore
+++ b/.gitignore
@@ -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
diff --git a/python-jinja2.spec b/python-jinja2.spec
index d842836..dcd189c 100644
--- a/python-jinja2.spec
+++ b/python-jinja2.spec
@@ -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 at cora.nwra.com> - 2.7-1
+- Update to 2.7
+- spec cleanup
+
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.6-6
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 
diff --git a/sources b/sources
index 542d56c..4b3adb2 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-1c49a8825c993bfdcf55bb36897d28a2  Jinja2-2.6.tar.gz
+c2fb12cbbb523c57d3d15bfe4dc0e8fe  Jinja2-2.7.tar.gz


More information about the scm-commits mailing list