Browse code

Fixing python3 build

Change-Id: Ic5aa3983cd5ea6c3a20de8b9714d32aa29a43b8b
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/2924
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Anish Swaminathan <anishs@vmware.com>

Kumar Kaushik authored on 2017/06/13 10:45:35
Showing 1 changed files
... ...
@@ -3,7 +3,7 @@
3 3
 
4 4
 Name:           python-jinja2
5 5
 Version:        2.9.5
6
-Release:        3%{?dist}
6
+Release:        4%{?dist}
7 7
 Url:            http://jinja.pocoo.org/
8 8
 Summary:        A fast and easy to use template engine written in pure Python
9 9
 License:        BSD
... ...
@@ -66,7 +66,6 @@ make -k check |& tee %{_specdir}/%{name}-check-log || %{nocheck}
66 66
 %doc AUTHORS CHANGES
67 67
 %license LICENSE
68 68
 %{python_sitelib}/jinja2
69
-%exclude %{python_sitelib}/*/*.py
70 69
 %{python_sitelib}/Jinja2-%{version}-py%{python_version}.egg-info
71 70
 
72 71
 %files -n python3-jinja2
... ...
@@ -74,10 +73,11 @@ make -k check |& tee %{_specdir}/%{name}-check-log || %{nocheck}
74 74
 %doc AUTHORS CHANGES
75 75
 %license LICENSE
76 76
 %{python3_sitelib}/jinja2
77
-%exclude %{python3_sitelib}/*/*.py
78 77
 %{python3_sitelib}/Jinja2-%{version}-py%{python3_version}.egg-info
79 78
 
80 79
 %changelog
80
+*   Mon Jun 12 2017 Kumar Kaushik <kaushikk@vmware.com> 2.9.5-4
81
+-   Fixing import error in python3.
81 82
 *   Wed Apr 26 2017 Dheeraj Shetty <dheerajs@vmware.com> 2.9.5-3
82 83
 -   BuildRequires python-markupsafe , creating subpackage python3-jinja2
83 84
 *   Tue Apr 25 2017 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 2.9.5-2