[python-django-helpdesk/f19] add python macro to call python

Luis Enrique Bazán De León lbazan at fedoraproject.org
Wed Mar 27 16:24:15 UTC 2013


commit 7ca756c0a01ecc5759323fdeab7c3f61d9b3f839
Author: Luis Bazan <lbazan at fedoraproject.org>
Date:   Wed Mar 27 11:25:39 2013 -0500

    add python macro to call python

 python-django-helpdesk.spec |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/python-django-helpdesk.spec b/python-django-helpdesk.spec
index 6f0620a..f053e50 100644
--- a/python-django-helpdesk.spec
+++ b/python-django-helpdesk.spec
@@ -2,7 +2,7 @@
 
 Name:           python-django-helpdesk
 Version:        0.1.8
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        A Django powered ticket tracker for small enterprise
 
 Group:          Development/Languages
@@ -48,10 +48,10 @@ rm -rf helpdesk/management/commands/*.py
 rm -rf helpdesk/static/helpdesk/helpdesk-print.css
 
 %build
-python setup.py build
+%{__python} setup.py build
 
 %install
-python setup.py install -O1 --skip-build --root %{buildroot}
+%{__python} setup.py install -O1 --skip-build --root %{buildroot}
 
 # Handling locale files
 # This is adapted from the %%find_lang macro, which cannot be directly
@@ -65,7 +65,7 @@ python setup.py install -O1 --skip-build --root %{buildroot}
    >> %{pkgname}.lang
 
 %check
-python setup.py test
+%{__python} setup.py test
  
 %files -f %{pkgname}.lang
 %doc LICENSE.3RDPARTY LICENSE
@@ -73,6 +73,9 @@ python setup.py test
 %{python_sitelib}/django_helpdesk-*.egg-info
 
 %changelog
+* Wed Mar 27 2013 Luis Bazan <lbazan at fedoraproject.org> - 0.1.8-3
+- add python macro to call python
+
 * Mon Feb 18 2013 Luis Bazan <lbazan at fedoraproject.org> - 0.1.8-2
 - Add pytz
 


More information about the scm-commits mailing list