[python-django-typepadapp/el6] change python2
Luis Enrique Bazán De León
lbazan at fedoraproject.org
Thu Feb 27 12:55:03 UTC 2014
commit de1536bfaecff05a845b96ae07c2e7c934e45cec
Author: lbazan <lbazan at fedoraproject.org>
Date: Thu Feb 27 07:55:26 2014 -0500
change python2
python-django-typepadapp.spec | 19 +++++++++++--------
1 files changed, 11 insertions(+), 8 deletions(-)
---
diff --git a/python-django-typepadapp.spec b/python-django-typepadapp.spec
index 10b62e8..8aca2a8 100644
--- a/python-django-typepadapp.spec
+++ b/python-django-typepadapp.spec
@@ -3,7 +3,7 @@
Name: python-django-typepadapp
Version: 1.2.1
-Release: 6%{?dist}
+Release: 7%{?dist}
Summary: A helper Django app for making TypePad applications
License: BSD
Group: Development/Languages
@@ -40,27 +40,30 @@ underpinnings for you to build TypePad cloud applications.
rm -rf typepadapp.egg-info
%build
-%{__python} setup.py build
+%{__python2} setup.py build
%install
-%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT
-chmod 0755 $RPM_BUILD_ROOT%{python_sitelib}/typepadapp/conf/project_template/app.wsgi
-chmod 0644 $RPM_BUILD_ROOT%{python_sitelib}/typepadapp/static/soundmanager/soundmanager2.js
+%{__python2} setup.py install --skip-build --root $RPM_BUILD_ROOT
+chmod 0755 $RPM_BUILD_ROOT%{python2_sitelib}/typepadapp/conf/project_template/app.wsgi
+chmod 0644 $RPM_BUILD_ROOT%{python2_sitelib}/typepadapp/static/soundmanager/soundmanager2.js
chmod 0644 $RPM_BUILD_ROOT%{python2_sitelib}/typepadapp/static/soundmanager/soundmanager2-nodebug-jsmin.js
%clean
rm -rf $RPM_BUILD_ROOT
%check
-%{__python} -m unittest
+%{__python2} -m unittest
%files
%defattr(-,root,root,-)
%doc LICENSE README.rst
-%{python_sitelib}/typepadapp
-%{python_sitelib}/typepadapp-*.egg-info
+%{python2_sitelib}/typepadapp
+%{python2_sitelib}/typepadapp-*.egg-info
%changelog
+* Wed Feb 27 2014 Luis Bazan <lbazan at fedoraproject.org> - 1.2.1-7
+- change to python2
+
* Tue Feb 18 2014 Luis Bazan <lbazan at fedoraproject.org> - 1.2.1-6
- add aditional requires
More information about the scm-commits
mailing list